Quantcast

Maximum PC

It is currently Wed Oct 01, 2014 5:18 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: linux n00b question...
PostPosted: Wed Nov 10, 2004 2:19 pm 
8086
8086

Joined: Wed Nov 10, 2004 2:15 pm
Posts: 5
I installed Fedora Core 3 to a scsi hard drive. The bios cant boot from it. Is there a way to make a linux boot disk that loads the driver scsi driver, and then boots from the scsi drive? (i do not have an IDE drive connected, and would rather boot from removable media) any suggestions?


Top
  Profile  
 
 Post subject: Re: linux n00b question...
PostPosted: Thu Nov 11, 2004 5:07 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Mon Jun 14, 2004 4:04 pm
Posts: 985
Location: Earth
jobless_joe wrote:
I installed Fedora Core 3 to a scsi hard drive. The bios cant boot from it. Is there a way to make a linux boot disk that loads the driver scsi driver, and then boots from the scsi drive? (i do not have an IDE drive connected, and would rather boot from removable media) any suggestions?


You have to tell the boot loader (GRUB or LILO) where to boot from. I'm assuming that you have the proper driver for your SCSI card, the best thing you can do is to check is if your SCSI card is supported by checking out the Hardware Compatibility LIst of the distro you are using.

I didn't see a hardware compatibility list in Fedora's website, so check under the Redhat website:

http://hardware.redhat.com/hcl/


Top
  Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 12:13 pm 
8086
8086

Joined: Wed Nov 10, 2004 2:15 pm
Posts: 5
I was actually able to install FC3 on the scsi hard drive. The problem is that i can not boot from it, it is a pci scsi card, not on my mobo. Just before it boots into the gui install, it says someting like "loading [scsi driver name]" and in the setup, it "sees" the hard drive. How can i make it so, i can boot grub from a floppy/cd and then grub will boot linux off this drive. I need the driver for the card, but i dont know how to get it either, becasue it loads automatically. thanks


Top
  Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 1:32 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
You can run mkbootdisk from a command prompt...but that's assuming you can boot into there to do that.

Beyond that you'll be loading from a CD, manaully putting the scsi drives and then mounting the drive and starting X from there. You won't be using grub at all at that point.

What DJ said is right, you really want to be dealing with what's in your grub.conf to boot to that HD..is there a specific reason you don't want to do that??


Top
  Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 4:11 pm 
8086
8086

Joined: Wed Nov 10, 2004 2:15 pm
Posts: 5
well..in short...because I am a noob and i dont know what i'm doing. Lest say this. I have a scsi external hard drive, connected by PCI card. I want to install FC3 on it, and be able to boot w/o an IDE hard drive. what can I do? The bios doesnt "see" the drive becuase it is connected by pci card, this is why i can not directly boot from it. how can i boot to the scsi drive?


Top
  Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 5:21 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
There should be a bios setting along the lines of try other boot devices...might not be a bad idea to make sure there isn't some firmwhere settings somewhere on that card you have to set so it does boot.

Reguardless of the drives not being seen in the bios, I don't see any reason why you shouldn't be able to boot with that adapter card

You did load the SCSI drivers during the install right??


Top
  Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 6:15 pm 
8086
8086

Joined: Wed Nov 10, 2004 2:15 pm
Posts: 5
you cant boot from the scsi drive if you have a pci scsi controller. same with any other hard drive controller. say...you go buy a PCI pata raid card. then you connect the hard drives to the card. you wouldnt be able to see the drives from the bios. same with this drive. you need to load the drivers from OS level, so that the OS can see the drives.

heres what i did, exactly.
1)booted from FC3 cd.
2) it automatically loaded into the gui install
3)it had already loaded the scsi card drivers itself, and could see the scsi drive
4)was able to install to the scsi drive
5)the FC3 "recovery feature" (just a shell loaded from the CD) could see the scsi drive and FC3 install (after it automatically loaded the scsi card drivers)

what can i do from here to make it so that I can boot from this drive. when I am at this recovery shell, i cant run "startx" it says commmand not found

suggestions?


Top
  Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 2:44 pm 
8086
8086

Joined: Wed Nov 10, 2004 2:15 pm
Posts: 5
anyone?


Top
  Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 8:30 pm 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24224
Location: Granite Heaven
jobless_joe wrote:
you cant boot from the scsi drive if you have a pci scsi controller. same with any other hard drive controller. say...you go buy a PCI pata raid card. then you connect the hard drives to the card. you wouldnt be able to see the drives from the bios. same with this drive. you need to load the drivers from OS level, so that the OS can see the drives.


That is not true, actually. You certainly can boot from a PCI card ... whether RAID, SCSI, or other.

When your PC boots, it first runs through the motherboard's BIOS ... and you're right, at this point, it won't 'see' the drives attached to the card; it will only see the card itself.

The next step, however, is to launch the CARD's bios, which happily detects and configures the drives attached to the card. After this step, it will proceed to launch the OS.

I can see two possible problems.

There might be a problem with your boot loader's configuration. If the boot loader is not looking for a scsi card, or if it is not configuring it properly, it won't be able to boot from that drive. If you cut and paste your boot loader's config file, we might be able to find the problem (assuming it exists).

The second possible problem is that your SCSI driver's may be loaded into the kernel as a module, rather than built directly into the kernel itself. Modules are located on /root ... and if /root is on the SCSI drive ... well, you have a problem! In other words ... the SCSI module won't be inserted into the kernel until after the kernel looks for the boot drive ... which it can't do because it doesn't have the SCSI module loaded. So .. make sure that your drivers are compiled directly into the kernel and NOT being inserted as modules.

Hope this helps. :)


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.