openSuse 10.3: new install won't boot
i just installed 10.3 on an old box from a dvd from the linux format magazine. It has kde4.
I tried installing to hdb4 and hda2 and when it boots, it waits for /dev/hda2 or /dev/hdb4 to appear. It times out, and gives me this prompt. Hardly any commands work at this prompt. It never booted successfully. I installed, rebooted and this happens. Code:
$ Any help? |
Prior to this prompt, there would be an error message which will tell you precisely what is wrong. Put it here.
Most probably this would be a result of some of the partitions having errors on them. You can circumvent this situation by modifying the etc/fstab file to prevent checking of non boot partitions at boot time. I usually delete entries in the fstab relating to non essential partitions. |
Code:
ide: Assuming 33MHz system bus speed for P10 modes; override with idebus=xx Here it is. hda2 is the root partition. |
In OpenSuse 10.3, the drive and partition numbering should not be /dev/hdaX or /dev/hdbX. With the kernel in 10.3, your drives should now be /dev/sda and /dev/sdb (this applies to IDE, SATA, and SCSI drives).
Edit /etc/fstab, and change all references to hda or hdb to sda and sdb respectively. Then check /boot/grub/menu.lst. In the kernel line, make sure that root=/dev/sda2 is there, and not root=/dev/hda2. If you are booting into command-line mode, su to root and run 'fdisk -l' to see the disks and partitions. sda2 should be flagged with an * in the Boot column. There should not be entries for hda or hdb. |
Can you boot from the DVD in repair mode? Please post your /etc/fstab.
<edit> Ups, coming a little late to answer, already good posts here. @bigrigdriver On my box /etc/fstab uses partition-ids (twenty-plus letters long unwieldy things), but I never noticed sdx notation in menu.lst, will check it... |
I just checked my own, and had my memory refreshed for me. When I installed 10.3, I found the /dev/disk/by-id thing too cumbersome for my taste, so I commented out that line, and entered a new one with the /dev/sdXY that I'm more confortable with. I did the same in my /etc/fstab.
But, the point is that if Raccoon1400 is using /dev/hda or /dev/hdb designations in fstab or menu.lst, it won't work. They must be converted to sda and sdb. |
This is and ide computer. Isn't sda for sata?
|
Opensuse uses sda, sdb, etc. whether or not it is ide,scsi,sata. Just installed it a few months ago and noticed this. My computer also is only 2 ide drives and partitions are all labelled 'sda' or 'sdb'.
|
I'll see if I have time to try that tomorrow. I have been extremely busy lately.
|
Ok . Here goes.
I tried booting from uuid and /dev/sda2. Neither worked. SuSE's fstab: Code:
/dev/disk/by-id/ata-MAXTOR_6L040J2_662219027643-part2 / ext3 acl,user_xattr 1 1 Code:
title openSUSE 10.3 (i586) (on /dev/sda2) |
Who created the grub menu? It doesn't seem to be the creation of Opensuse, during installation.
The error message refers to hda2 - something that doesn't appear in the fstab or grub menu. Can you post the entire fstab and grub menu files? I am assuming that the grub was created by another distro, and you tried to include the Opensuse installation in that menu. The difference in hard disk nomenclature between distros is to blame here. I suggest replacing the "root(hd0,1)" entry in the grub menu to " root /dev/disk/by-id/ata-MAXTOR_6L040J2_662219027643-part2" as shown in fstab. |
Quote:
|
The grub entry was generated by ubuntu.I modified it a bit. The original SuSE grub didn't work either. How could we change fstab not to do disk by id? I never succesfully booted this install.
Original grub entry: title openSUSE Code:
root (hd0,1) That was the entire fstab. Here is the entire menu.lst Code:
# menu.lst - See: grub(8), info grub, update-grub(8) |
Where is your /boot? Extra partition or directory? GRUB expects a stanza telling it where /boot is. In case you are using Ubuntu's GRUB with SuSE's menu.lst you are nuked right here...
See: http://www.gnu.org/software/grub/man...le-name-syntax |
/ and /boot are on the same partition
|
All times are GMT -5. The time now is 11:57 PM. |