![](https://seccdn.libravatar.org/avatar/adccac2775b20949a524dfd3e68d4883.jpg?s=120&d=mm&r=g)
I have SuSE 6.1 installed onto /dev/hdc and boot via a floppy with LILO (/dev/hda is an old unused hard disk). Is there an (easy) way of setting it up so that linux automatically boots. Obviously i need to change the drive over to the primary controller (/dev/hda). Apart from /etc/fstab, are there any other changes i need to make?
If /dev/hda is available to use, you can create a small partition /dev/hda1 for /boot. 10 MB should be more than enough. Copy your existing /boot to the new partition and mount the new partition as /boot. Be sure to add the new /boot to /etc/fstab. Copy your kernel into /boot (I'll call it vmlinuz) and create the following /etc/lilo.conf: ----- boot = /dev/hda read-only prompt timeout = 30 # 3 seconds vga = normal image = /boot/vmlinuz root = /dev/hdc1 # or whereever your / partition is label = linux ----- ... and run lilo. You shouldn't need to change anything on your hdc hard disk.
Also, at home I recompiled my kernel to include SCSI emulation and created a boot disk to boot that kernel. The boot disk does not use LILO - it comes up with "Loading Linux......" straight away. Is there any way i could have a similar setup for the hard disk.
I don't think so. If you tried to write a kernel to the hard disk /dev/hda like you do to a floppy /dev/fd0, you'd overwrite the partition table. You should be able to use the lilo.conf above and set the timeout to 0, and boot just as quickly and easily. -- Ron Oliver (mailto:roliver-suse@quantum-networks.com) -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/