LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2002, 06:25 AM   #1
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Rep: Reputation: 15
booting from scsi disk


howdy,
I figured the newbie forum was best as I am clueless as to whether this is software, hardware, firmware, or tupperware ???

Anyhoo, I have a redhat 6.2-ish system ( kernel 2.2.21 - boggo std glibc) that runs fine from ide disc (/dev/hda) that I am trying to get working from a 9.1GB seagate scsi disc on a tekram 395uw controller.
I have rebuilt the kernel with the driver in so that I can use the scsi disk for data fs's (works fine) but cannot get the system to boot from the scsi.

I have made a copy of my ide root fs and put it on the scsi 1st partition ( cylinders 1-1023 = /dev/sda1) altered fstab (on the scsi disk) so that root is sda1 & other fs's /usr etc are still on /dev/hda? . Boot off a floppy (mkbootdisk) and do a "linux root=/dev/sda1" which works fine, then /sbin/lilo -L to put the boot info into the mbr for the scsi disk & when I boot I get the lilo: prompt & hit <return> & then get a screen full of 9's & it hangs ??
Lilo version is 22.3.4 (latest), disk is dos formatted first to get 1106/255/63 disk geometry. Bios disk numbers are ide = 0x80, scsi1 = 0x81 but bios is set to boot from floppy -> scsi -> ide-0

I have even pulled the ide disk completely so that only scsi remains ( system should still boot without /usr ) and I still get the screen full of 9's.
Any ideas?
 
Old 12-02-2002, 07:52 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Welcome to LQ.

Could you post your lilo.conf? You say that you've put it in the MBR of your SCSI disk, but where does Lilo want to boot from? The first line of your lilo.conf file should say something like:
boot=/dev/sda (or something - I'm not at a Linux box to look).

HTH
 
Old 12-02-2002, 08:03 AM   #3
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Original Poster
Rep: Reputation: 15
Howdy,
tried /dev/sda ( boot from mbr ) - even tried /dev/sda1 (which i guess shouldn't work as there isn't anything else on the disk?) - both no sucess :-( . I thought originally it was that I had too many cylinders on my disc caused by a funny format - so I dos ( w95 vfat) formatted the disc to get 1106/255/63 . I used to get LIL- and now I get LILO: 9999999999999 etc etc. I have even tried defining the disks by the bios numbers but that didn't seem to help either.
maybe it's a specific hard ware prob - I have run the apps on the boot floppies from lilo & everything checks out. I am a bit stumped - maybe an email to john coffman ( the writer ) is the next step.
 
Old 12-02-2002, 08:06 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Will you be using your ide disks for anything else? If so, why not simply have it in the ide mbr, which presumably works fine, and have a Linux entry that points to sda? I'm sure there is a perfectly good reason for the errors you're getting, but if you're gonna have an ide disk around anyway, why hassle yourself and make things hard?
 
Old 12-02-2002, 08:42 AM   #5
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Original Poster
Rep: Reputation: 15
ide disk was destined for another machine and this one was to go all scsi. Until there is a fix I can always boot from floppy, it was more of an annoyance than a showstopper...

Ta 4 having a look anyhoo
bfn
Ian

PS H/W & S/W 4 anyone interested =
chaintech aja7 mainboard ( accepts EDD packet calls)
seagate st39137WC disks ( with sca80->scsi68 conv)
tekram 395uw controller ( dc395x_trm installed into kernel)
lilo 22.3.4
kernel 2.2.21
 
Old 12-02-2002, 07:01 PM   #6
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Original Poster
Rep: Reputation: 15
Howdy again,
TRIUMPH !! - removed ide disc completely after replicating /usr, /usr/src & other filesystems on additional partitions on the scsi disk did a " cd /usr ; find ./ -print | cpio -pudmv /test1_usr " to fill up my scsi version of /usr , created some missing device files ( /dev/mouse !! ) , set bios to boot from scsi & tossed ide disc out of window.
System now boots & goes like the clappers.

bfn
Ian
 
Old 12-02-2002, 07:07 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
D'oh! I hadn't realised that you hadn't moved everything over from the IDE disk - it helps! Good to hear it's working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting with SCSI help needed vinoloco Linux - Newbie 4 02-06-2005 02:14 PM
Booting Win98 with Lilo from SCSI bitpicker Linux - Newbie 3 08-17-2003 09:28 AM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 06:08 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Newbie 1 07-01-2003 04:51 AM
Slackware 9.0 CD booting with a scsi HD Loghan Linux - Newbie 3 05-29-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration