PDA

View Full Version : Bootable USB harddisk



tpw
05-07-2005, 07:06 PM
I have a computer system with a removable HD. In an empty tray I placed a clean HD. I installed Knoppix on that harddisk.
Instalation was no problem. Even Lilo was installed and the system did work fine.

I removed this disk and placed it in a USB-HD enclosure.

The system did boot with the right BIOS settings. Halfway up there is a moment where all connections, also USB is reset.
At this moment Kernal pannic started and the system halted.

Is there any method to come around this point.

What I want is a bootable Linux version on a USB hard disk. In this way I have my privat computer on any computer without changing anything other than the BIOS.

Nico.

foamrotreturns
05-09-2005, 03:51 AM
Your system is probably suffering from the fact that the original install referred to the hard disk device as /dev/hda1 and now it's picked up in the system as /dev/sda1 or something similar. If you're going to install the OS on a hard disk, you need to make sure that the system always finds that drive in the same place it was when it last put it away (unmounted it). I could be mistaken, but changing the hard disk's location is probably a bad idea unless you edit whatever files refer to the location of the filesystem as being on /dev/hda1 and change those to /dev/sda1 or whatnot. I am not sure where those files are, however but I would suggest booting from the CD and going into the filesystem on your external and check out its /etc/fstab file first.
Also, you know that you could indeed have your own private installation on any computer, but the fact that there are so many different hardware configurations out there will probably freak your install out. It will boot up one time and find 128MB of ram and a Pentium III, and next time it boots up it'll find dual Athlon-MP's and 1GB of ram... sometimes it'll find S-ATA hard drives, other times it'll find tape drives, sometimes it'll find some crappy old 15" CRT and other times it'll find a state of the art 21" LCD... You just can't have it trying to initialize all of that every time it boots. that's the reason the livecd works so well - it is designed to detect whatever hardware you've got and go with it. but when you reboot it starts fresh.
Gurus, you have been doing this a lot longer than I have... any suggestions?