Can't boot-up Suse Linux Enterpise Server 9 after I attached external storage.
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't boot-up Suse Linux Enterpise Server 9 after I attached external storage.
Hi,
I have the problem of boot-up the Suse Linux Enterpise Server 9, after I attached a external storage.
The problem is because of the following:
Before attached to external storage:
swap is mounted as "/dev/sda1"
root (/) is mounted as "/dev/sda2"
After attached to external storage:
External Storage partitions are mounted as "/dev/sda1", "/dev/sda2", and so on.
swap is mounted as "/dev/sdb1"
root (/) is mounted as "/dev/sdb2"
We can tell BIOS to bootup using the Internal SCSI drive, but after bootup to SUSE, the hardware dectection will dectect external storage first then only dectect local SCSI drive, which make the mapping of devices (/dev/sda1, etc) problem.
I manage to resolve the problem by modify the Grub "menu.lst" and "fstab", but as and when I put in more external storage LUNs, or remove the LUNs, I need to modify again.
Is there anyway I can fix the boot up hardware dectection sequence? To let the local SCSI harddisk to dectect and assign to "/dev/sda1" first before external storage?
Or at least we can fix the "/dev/sda1" to swap partition, and "/dev/sda2" to root partition.
I experienced a similiar situation on compaq hardware. I had a seperate scsi card which would take priority over the other scsi devices during the bios intialization. I ended up using the smart start programs to configure the scsi card and the scsi devices to intialize in the proper sequence. Once I did that, SLES was able to boot and initialize the devices correctly.
There's two things you need to do:
1. Edit modules (modprobe?).conf and change the order in which the modules are loaded. If it loads the external SCSI driver before the internal disk driver, you will see this every time you add storage. Change the module loading order so that your internal disk driver is FIRST.
2. If you are using ext3 partitions, you can label partitions using e2label, and then mount them like 'mount LABEL=mypartition', and set them up the same way in /etc/fstab (just put LABEL=whatever instead of /dev/sda, etc). That way, no matter what changes, it will mount the drive by partition label, not partition device name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.