From andrew@andrew.dabsol.co.uk Wed Jan 5 23:07:10 2000 From: andrew@andrew.dabsol.co.uk To: users@lists.opensuse.org Subject: [SLE] Changing Linux Drives Date: Wed, 05 Jan 2000 23:07:10 +0000 Message-ID: <001201bf57d1$d4817ae0$49469fd4@andrew> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2784652437699904608==" --===============2784652437699904608== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi 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? 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 sim= ilar setup for the hard disk. Many Thanks, Andrew Smith
Hi
I have SuSE 6.1 installed onto /dev/hdc and boot via a fl= oppy=20 with LILO (/dev/hda is an old unused hard disk). Is there an (easy) way of=20 setting it up so that linux automatically boots. Obviously i need to change t= he=20 drive over to the primary controller (/dev/hda). Apart from /etc/fstab, are=20 there any other changes i need to make?
Also, at home I recompiled my kernel to include SCSI emul= ation=20 and created a boot disk to boot that kernel. The boot disk does not use LILO = -=20 it comes up with "Loading Linux......" straight away. Is there any way i coul= d=20 have a similar setup for the hard disk.
Many Thanks,
Andrew Smith
--===============2784652437699904608==-- From roliver-suse@quantum-networks.com Thu Jan 6 02:27:07 2000 From: roliver-suse@quantum-networks.com To: users@lists.opensuse.org Subject: Re: [SLE] Changing Linux Drives Date: Wed, 05 Jan 2000 21:27:07 -0500 Message-ID: In-Reply-To: <001201bf57d1$d4817ae0$49469fd4@andrew> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7391668999797520909==" --===============7391668999797520909== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > 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/ --===============7391668999797520909==--