LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 12-15-2005, 10:54 AM   #1
maxsch
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
connecting external device causes SuSe boot error with /dev/sda2


Connecting an external device through a fiber cable causes a host running Liunx SuSe to not boot. "waiting for device /dev/sda2 to appear: not found". Somehow, the host thinks that the external device is now device /dev/sda2 once it is connected. The modules.conf file is empty on this SuSe host (can change the boot order of scsci and fiber if this were Red Hat). Looking for info on SuSe boot process.
 
Old 01-31-2006, 09:54 AM   #2
axelrose
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
If you added an FibreChannel device this may have several LUNs.
For each LUN Linux will create a sdx device on its own. You may
end with /dev/sda for FC LUN1, /dev/sdb for FC LUN2 and your former
boot device /dev/sda2 will now be /dev/sdc2.

Currently I don't know myself how to influence the boot order so
that the internal disk is always checked first or how to configure
grub to boot from /dev/sdc in the Suse boot menu.

Axel
 
Old 02-01-2006, 03:16 PM   #3
maxsch
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Axel,

Found a solution for my boot issue.

There is a file name /etc/sysconfig/kernel and in this file you need to make sure that your internal scsi controller is loaded before the module for you driver loads. Appears that when the host boots and it is attached to the symm the driver loads first and then sees the symm devices before the internal drive.
The file may look something like the following:

INITRD_MODULES="qla2300 aic79xx jbd ext3"
You need to modify it to have the scsi controller load before your driver. Depending on what HBA you are using it will be specified how to do this in the documentation.You can obtain this documentation from either the Qlogic or Emulex website. If you are unable to obtain the documents then let me know I can send them to you.
The file should appear something like this after you modify it using the appropriate HBA:

INITRD_MODULES="aic79xx qla2300 jbd ext3"

After you modify this file you need to create a new ramdisk, reboot the host and it should be all set.
To make new ramdisk….mkinitrd -k vmlinuz -i initrd-whatever kernel you are running
 
Old 02-02-2006, 01:17 AM   #4
axelrose
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Thanks Max. This is good to know.
I check whether udev would be a better practical solution but as long as the old
scheme works ...

One last question is for me how to access the grub menu when booting Suse.
I had to boot with Knoppix, mount the boot disk, edit /boot/grub/menu.lst, reboot.
Only then I was able the change the INITRD_MODULES line in sysconfig/kernel.

Axel
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
not a valid block device error on an external CDROM landroni Linux - Hardware 1 09-12-2005 07:06 AM
/dev/sda2 does not exist. aje Slackware 6 07-17-2005 06:08 AM
force firewire ipod as scsi device sda2 mrnegitoro Linux - Hardware 0 03-23-2005 10:47 AM
Why does my external IDE-device with firewire not run? (SUSE 9.1) EichbaumExport Linux - Hardware 3 02-08-2005 11:33 AM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 10:41 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
Open Source Consulting | Domain Registration