[opensuse] Help! Can't boot after installing SuSE 10.3
/dev/sda1 /boot /dev/sda2 / /dev/sda3 system LVM /dev/sdb1 system LVM I upgraded from 10.2 to 10.3. During the upgrade, 10.3 aborted during the making of the initial ram disk /boot/initrd* (it got some kind of udev error). All my kernels are there but I have NO ram disks, hence I can't boot. When I tried booting off the kernel without an initrd, it says it can't find the root partition (I believe it needs the via82cxxx device driver because the root=/dev/sda2 option to grub doesn't work). To fix this I tried 1. Booting off SUSE 10.3 disk using automatic repair - This didn't work and it added a line to my /etc/fstab I had to remove using a rescue disk. 2. Booting into SUSE 10.3 rescue mode - I can't use mkinitrd to create a RAM disk here because the correct files aren't in the right places in rescue mode to make a RAM disk image. Also, When I boot in rescue mode, the rescue mode kernel is 2.6.22.5-23 and my on disk kernel is 2.6.22.5-31. 3. Recompiling the kernel with the drivers built in - I'd love to do this, but my kernel source is on an LVM volume. I did a "vgscan --mknodes" and it finds my volume and partitions but it doesn't create the devices in /dev. How do I get it to create the devices files in /dev? Will recompiling the kernel with the appropriate drivers built in fix the problem or do I need a RAM disk? Thanks. Scott -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/16/2007 07:31 AM, Scott Simpson wrote:
/dev/sda1 /boot /dev/sda2 / /dev/sda3 system LVM /dev/sdb1 system LVM
I upgraded from 10.2 to 10.3. During the upgrade, 10.3 aborted during the making of the initial ram disk /boot/initrd* (it got some kind of udev error). All my kernels are there but I have NO ram disks, hence I can't boot. When I tried booting off the kernel without an initrd, it says it can't find the root partition (I believe it needs the via82cxxx device driver because the root=/dev/sda2 option to grub doesn't work). To fix this I tried
1. Booting off SUSE 10.3 disk using automatic repair - This didn't work and it added a line to my /etc/fstab I had to remove using a rescue disk.
Don't use this, it is broken.
2. Booting into SUSE 10.3 rescue mode - I can't use mkinitrd to create a RAM disk here because the correct files aren't in the right places in rescue mode to make a RAM disk image. Also, When I boot in rescue mode, the rescue mode kernel is 2.6.22.5-23 and my on disk kernel is 2.6.22.5-31.
Use the rescue system to fix this, if your lib directory is on / and not LVM. If it is, I don't know. Do this: log in as root. mount /dev/sda2 /mnt mount /dev/sda1 /mnt/boot mount -o bind /dev /mnt/dev mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys cd /mnt chroot /mnt mkinitrd Now look around to see if everything looks OK. If it does, exit, then shutdown -r now If your filesystem is on LVM, I don't have any experience with it so someone else will need to help. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Le Thursday 15 Nov 2007 23:31:20 Scott Simpson, vous avez écrit :
/dev/sda1 /boot /dev/sda2 / /dev/sda3 system LVM /dev/sdb1 system LVM
I upgraded from 10.2 to 10.3. During the upgrade, 10.3 aborted during the making of the initial ram disk /boot/initrd* (it got some kind of udev error). All my kernels are there but I have NO ram disks, hence I can't boot. When I tried booting off the kernel without an initrd, it says it can't find the root partition (I believe it needs the via82cxxx device driver because the root=/dev/sda2 option to grub doesn't work). To fix this I tried
1. Booting off SUSE 10.3 disk using automatic repair - This didn't work and it added a line to my /etc/fstab I had to remove using a rescue disk. 2. Booting into SUSE 10.3 rescue mode - I can't use mkinitrd to create a RAM disk here because the correct files aren't in the right places in rescue mode to make a RAM disk image. Also, When I boot in rescue mode, the rescue mode kernel is 2.6.22.5-23 and my on disk kernel is 2.6.22.5-31. 3. Recompiling the kernel with the drivers built in - I'd love to do this, but my kernel source is on an LVM volume. I did a "vgscan --mknodes" and it finds my volume and partitions but it doesn't create the devices in /dev. How do I get it to create the devices files in /dev?
Will recompiling the kernel with the appropriate drivers built in fix the problem or do I need a RAM disk? Thanks. Scott
Try editing the grub line. root=/dev/sda2 root (hd0,2) check your device.map in /boot/grub directory and make sure it has an entry somelike (hd0) /dev/sda Hope that helps. Eddie -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks! I was wondering why it wasn't writing my grub/menu.lst file correctly. It was set to hda and I removed that line and set it to sda. I have a working system now. Scott -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
eddie
-
Joe Morris (NTM)
-
Scott Simpson