November 3rd, 2004, 09:10 PM
need MORE Knoppix SAM help
Sorry for starting another topic on this, I know there has already been one but I've waited for over a day with no reply and you guys are usually really quick on getting back with answers. I'd wait longer but it's driving me CRAZY! I can't figure out what I have to mount and where I have to mount it etc. I'm using knoppix STD. I tried "mount /mnt/hda1" It mounts. then I "cd /mnt/hda1" but I can't find the windows file in there. I've tried mounting dev/hda1 to the /mnt/hda1 but it doesn't work right. IS there anway somebody could give me a step by step way of doing this. I'm really new to linux and I'm just messing around trying to crack my own box. And yes I have heard of the man command. It's not helping. Thanks. You guys are great! Should open up ur own consulting firm.
November 3rd, 2004, 09:50 PM
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.
#mount -rw /dev/hda1 /mnt/hda1
#mount -rw /dev/sda1 /mnt/sda1
#cd /mnt/hda1/windows (or /mnt/hda1/winnt)
#cp sam /mnt/sda1
#cp system /mnt/sda1
#shutdown -h now
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
November 4th, 2004, 05:04 AM
that almost works. I mount the harddrive (it happens to be hda2, took me a while to figure THAT out) but when I try to mount /dev/sda1 /mnt/sda1 it says "mount point /mnt/sda1 does not exist. Thanks for help.
November 4th, 2004, 09:50 AM
oh, then you first need to create the mount point:
that should do it
November 4th, 2004, 07:10 PM
Ok I made that that directory and I checked to make sure it was there. It was, but then is says /dev/sda1 is not a valid block device. I'm guessing that this isn't the usb drive? Thanks for ur help lepricaun.
November 4th, 2004, 08:53 PM
then it probably is:
#mount -rw /dev/sdb1
#mount -rw /dev/sdc1
November 4th, 2004, 11:01 PM
No, that wasn't it either. I found something on another site that said I had to "modprobe usb-storage" I guess that makes the computer look for it? Anybody know more on this? Thanks
November 5th, 2004, 09:43 AM
if you are using knoppix std then it would automatically look for USB storage. but perhaps you have a chipset of which KNOPPIX does not have the USB drivers for...
November 5th, 2004, 02:04 PM
If you don't want to use the man then try
You didn't tell us what kind of filesystem you wanted to mount NTFS or FAT
to mount a windows FAT filesystem try this:
#mount -t vfat /dev/hda1 /mnt/windows
and voila there's your windows partition.
November 8th, 2004, 06:55 AM
This what I do and it's never failed to copy them to the flash drive succesfully -
cd windows(or winnt)
ls (to double check the SAM and system files are there)
cp SAM /mnt/sda1
cp system /mnt/sda1