|
-
November 3rd, 2004, 10:50 PM
#2
#su
#mount -rw /dev/hda1 /mnt/hda1
#mount -rw /dev/sda1 /mnt/sda1
#cd /mnt/hda1/windows (or /mnt/hda1/winnt)
#cd system32
#cp sam /mnt/sda1
#cp system /mnt/sda1
#umount /dev/sda1
#shutdown -h now
the above only works if your windows installation is on the first (hda) harddisk of your system, and on the first partition (hd*1) . if it is on the second harddisk chances are you need hdb1 or if it is in another partition you might need hda3 instead of hda1.
you can see this pretty easily when looking at your desktop with a normal knoppix version, knoppix std doesn't show these automounts (perhaps it doesn't even automount), but you can also run the following command:
#dmesg | grep "hda"
and read what the output there is.
hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|