{"id":586,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=586"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"boot-beos-via-scsi-with-lilo","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=586","title":{"rendered":"Boot BeOS via SCSI with LILO"},"content":{"rendered":"<p><i>[Editor&#8217;s note: Be&#8217;s bootman is far easier to configure and use than LILO. If you&#8217;re running a multi-boot machine, I recommend bootman (search this site for bootman tips). Bootman can boot virtually any OS from any kind of device, with no special configuration required. If you enjoy pain, read on.]<\/i><br \/>\nIf you&#8217;re not familar with LILO, getting BeOS to boot off a SCSI disk can be stressful.<br \/>\nFirst off, let&#8217;s determine what hard drive number you have:<br \/>\n1. How many physical hard drives do you have in your system?<br \/>\n2. Which hard drive contains BeOS? (hint: it&#8217;s connected to the SCSI controller)<br \/>\n3. Let&#8217;s determine the hard drive number by knowing which ones your computer&#8217;s BIOS sees. They are seen in order.<br \/>\nFor example, I have two hard drives on my primary ide controller (master and slave), which allows up to two drives off that connector. I have another IDE hard drive on the secondary ide ( master ) and a ide cdrom drive ( slave ).<br \/>\nConfused? Don&#8217;t be, it&#8217;s going to make sense in a second:<br \/>\nMaster is referring to the 1st hard drive set as master on the primary ide controller. Slave is referring to the 2nd hard drive set as slave on the primary ide controller.<br \/>\nSee a pattern?<br \/>\nIn my configuration I have a total of *four* hard drives. Three IDE and one SCSI. The BIOS will see the drives on the primary IDE first, followed by secondary IDE and then finally it will see the SCSI controller with drives off of it.<br \/>\nIn my case, the hard drive number that has BeOS on it is number four.<br \/>\nMaster IDE drive on primary ide controller = 1.<br \/>\nSlave IDE drive on primary ide controller = 2.<br \/>\nMaster IDE drive on secondary ide controller = 3.<br \/>\nSlave IDE cdrom on secondary ide controller = n\/a, doesn&#8217;t apply here, not a hard drive.<br \/>\nSCSI disk first in SCSI chain (my only hard drive on it) is 4.<br \/>\nNow we know the disk\/hard drive number, now write that down. \ud83d\ude42<br \/>\nFor the next part you need to be &#8218;root&#8216; and use an editor of your choice.<br \/>\nLet&#8217;s take a peak at my \/etc\/lilo.conf file.<br \/>\nExample of \/etc\/lilo.conf<\/p>\n<pre>\nboot=\/dev\/hda\nmap=\/boot\/map\ninstall=\/boot\/boot.b\nprompt\ntimeout=50\nlinear\ndefault=linux\ncompact\ndisk=\/dev\/sda\n     bios=0x83\nimage=\/boot\/vmlinuz-2.2.14-5.0smp\n\tlabel=linux\n\tinitrd=\/boot\/initrd-2.2.14-5.0smp.img\n\tread-only\n\troot=\/dev\/hdb1\nimage=\/boot\/vmlinuz-2.2.14-5.0\n\tlabel=linux-up\n\tinitrd=\/boot\/initrd-2.2.14-5.0.img\n\tread-only\n\troot=\/dev\/hdb1\nother=\/dev\/hda1\n\tlabel=dos\nother=\/dev\/sda1\n\tlabel=be\n<\/pre>\n<p>As you see I have several entries, your&#8217;s may be more or less.<br \/>\nSee the lines that read (near the top):<\/p>\n<pre>\ndisk=\/dev\/sda\n     bios=0x83\n<\/pre>\n<p>Yep, \/dev\/sd -> &#8218;a&#8216; is hard drive one on the scsi chain.<br \/>\nRemember that hard drive number we jotted down (you did right?), well here is what all that work was for:<br \/>\nbios=0x8 -> &#8218;3&#8216; is hard drive number 4 seen by the BIOS.<br \/>\nIn other words figure out the drive number from step 3 above and substract 1.<br \/>\nEdit your \/etc\/lilo.conf and include &#8222;linear, disk, bios&#8220; lines like mine, minus making changes to reflect your setup.<br \/>\nWe are almost done, look at the bottom of my example lilo.conf, notice &#8222;other=\/dev\/sda1&#8220; section? Make yours look like it but make the appropriate changes. Due note, \/dev\/sda1 is referring to partition &#8218;1&#8216; on \/dev\/sda (scsi disk one in chain). Make sure you give it the right BeOS partition off of the SCSI drive.<br \/>\nSave your changes to the lilo.conf file.<br \/>\nAt the Linux shell prompt, as user &#8218;root&#8216; enter:<br \/>\nlilo<br \/>\nNow reboot and when LILO pops up, enter &#8222;be&#8220; to enter BeOS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Editor&#8217;s note: Be&#8217;s bootman is far easier to configure and use than LILO. If you&#8217;re running a multi-boot machine, I recommend bootman (search this site for bootman tips). Bootman can boot virtually any OS from any kind of device, with no special configuration required. If you enjoy pain, read on.] If you&#8217;re not familar with [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=586"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}