This sounds exactly like what I would like to do. I don't know the flavor of linux the CD is using. If I load linux onto the terminal I assume that I can autorun the RDP client so that my users don't have to do anything other than turn on the machine. What do you suggest is the quickest and easiest way to get this done considering that I don't know linux very well. (at all)
Main Topics
Browse All Topics





by: lewko2Posted on 2009-08-27 at 18:21:56ID: 25204329
You have created a DOS partition that boots to DOS (Command.com). You need to create a Linux partition and make it bootable (active), then copy the linux os to it. Then you can copy your RDP client software so that you can auto-boot to Windows! You don't need DOS unless you want to dual boot.
You will need a linux boot cd or linux on the hard drive, or you can get out of the RDP client to a linux prompt. If you use the last method you will need cp, gedit (or vi, or another editor), and grub on your CD.There are various linux bootloaders that you could be using. Grub is used by Ubuntu and Redhat and I can give you some hints for copying a linux disk that uses grub and has cp and an editor on it.
Boot linux, get to the $ prompt, mount both your source and destination partitions, then copy. In Ubuntu:
$ sudo cp -afv sourcepath/* destinationpath
On your destination drive run:
gksu gedit
(or some other editor) and edit the file /etc/fstab.
Change the UUID or device entry with the mount point / (the root partition) to your new drive. You can find your new drives (or partitions) UUID with this command:
$ ls -l /dev/disk/by-uuid/
Next, edit /boot/grub/menu.lst.
Change the UUID of the appropriate entries at the bottom of the file to the new one.
Install Grub. Run
sudo grub.
In Grub type:
find /boot/grub/menu.lst
to find out your new drive and partition number, say hd(0,0)) and type:
root hd(0,0)
where "hd(0,0)" is the partition number you just got with the find command. Type:
setup hd(0)
where "hd(0)" is your drive number from above. (It's the n in the hd(n,m) pair from the find command.
Shutdown, remove CDs and reboot.
OK this is complicated and it's Linux, not DOS. You can download linux from lots of places. Ultimately, you can always just install any flavor of linux and your RDP client from scratch on your hard disk and make it autoboot to the RDP client .
Do you know the flavor of linux and the RDP client you are using?
You may be asking if this can be done from DOS? One big problem with DOS is that fdisk, the DOS partition manager, is not very robust. You could create a linux and copy the files to it You could even edit the fstab, but now you have DOS in the way because it is the active (boot) partition and fdisk can't really deal with two operating systems. After you get linux configured you'll want to remove DOS, unless you want to dual boot to DOS or linux (which is doubtfull because you would have the unsecure DOS partition sitting on your terminal.)
You can use DOS to browse the linux disk and see the files that are on it. You just can't run them from DOS.