[SuSE Linux] Boot SCSI from IDE disk
Hi All. I have a 5G IDE hd, and 1G Conner HD on AIC 7850 SCSI controller. I've just installed SuSE 5.3 on SCSI disk and lilo on Master boot record with options -- Boot DOS from hda1 and Boot Linux from sda1. On boot I see running "01" string on screen and nothing boots. I can boot installed Linux from installation CD-ROM (start installed system), but how I can boot it by usual way? ZSV. zsv@om-express.ru - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Sergey Zhukov wrote:
Hi All.
I have a 5G IDE hd, and 1G Conner HD on AIC 7850 SCSI controller. I've just installed SuSE 5.3 on SCSI disk and lilo on Master boot record with options -- Boot DOS from hda1 and Boot Linux from sda1. On boot I see running "01" string on screen and nothing boots.
I can boot installed Linux from installation CD-ROM (start installed system), but how I can boot it by usual way?
Linux always tries to boot from the IDE drive by default if an IDE drive is present. This is true regardless of BIOS settings - even if you are booting lilo from the master boot record on the SCSI disk! You need to edit the global section of your lilo.conf to swap the IDE and SCSI drives around: # Start LILO global Section disk = /dev/sda # SCSI drive bios = 0x80 # is first in list disk = /dev/hda # IDE drive bios = 0x81 # is second boot = /dev/sda # boot from SCSI drive please #compact # faster, but won't work on all systems. #linear # likewise, dont know if this is best for your system read-only # correct! mounts readonly until system does integrity check prompt # allow manual entry of boot parameters timeout=100 # for 10 seconds before proceeding with defaults vga = normal # force sane state # End LILO global section and then goes on to the bootable partitition config sections I got this from the SuSE help database when I was stuck myself. In other words, RTFM!! That should sort you out OK.... Regards Ralph Clark -- rclark@virgosolutions.demon.co.uk Ralph Clark, Virgo Solutions Ltd (UK) __ _ / / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable * / /__/ / _ \/ // /\ \/ / *Well Supported * Thousands of New Users Every Day* /____/_/_//_/\_,_/ /_/\_\ The Cost Effective Choice - Linux Means Business! - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Fri, Dec 04, Sergey Zhukov wrote:
I have a 5G IDE hd, and 1G Conner HD on AIC 7850 SCSI controller. I've just installed SuSE 5.3 on SCSI disk and lilo on Master boot record with options -- Boot DOS from hda1 and Boot Linux from sda1. On boot I see running "01" string on screen and nothing boots.
I can boot installed Linux from installation CD-ROM (start installed system), but how I can boot it by usual way?
ZSV. zsv@om-express.ru -o) Hubert Mantel Goodbye, dots... /\\ _\_v
Many BIOSes only allow booting from the EIDE-HD if one is present. So you need to place all files for booting onto the EIDE disk, because LILO loads the operating system by BIOS means only. Here is an example that assumes you have a DOS partition on your EIDE disk: mount -tmsdos /dev/hda1 /mnt mkdir /mnt/boot cp /vmlinuz /mnt/boot cp /boot/boot.b /mnt/boot Now modify your /etc/lilo.conf: --------------------------------------------------------- boot=/dev/hda read-only prompt timeout=20 install=/mnt/boot/boot.b map=/mnt/boot/map image = /mnt/boot/vmlinuz root = /dev/sda1 # specify your root partition here label = linux other = /dev/hda1 table = /dev/hda label =dos --------------------------------------------------------- Now just run "lilo" and "umount /mnt". Please note: LILO stores the physical location of all needed files in the file /mnt/boot/map, which now lives on your DOS partition. So, under DOS, DO NOT move those files around. Especially if you run some defragmenter, LILO most probably will not be able to boot afterwards. If you have some more modern BIOS that allows for booting from a SCSI disk despite the fact an EIDE disk is present, it is sufficient to add the following lines to a standard /etc/lilo.conf --------------------------------------------------------- disk = /dev/sda bios = 0x80 disk = /dev/hda bios = 0x81 --------------------------------------------------------- With these statements you just tell LILO: "I told my BIOS that the SCSI drive is the first one and the EIDE is the second; it's ok, believe me". Additional background info: /usr/doc/packages/lilo - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
mantel@suse.de
-
rclark@virgosolutions.demon.co.uk
-
zsv@om-express.ru