Re: [opensuse] Kernel Updates Put Bad Device Names In "/boot/grub/menu.lst"



On Thursday 08 November 2007 21:54:06 Jeff Mahoney wrote:
Jeff Mahoney wrote:
Randall R Schulz wrote:
On Thursday 08 November 2007 13:20, Marcus Meissner wrote:
...

What is causing this and how can I fix it?

What is in /boot/grub/devices.map ? Is /dev/sdb listed there as hd0?

2635# pwd
/boot/grub
2636#
2636# ll
total 312
-rw-r--r-- 1 root root 10 2007-03-05 12:13 default
-rw------- 1 root root 0 2007-10-18 12:18 device.map
-rw------- 1 root root 0 2007-10-18 12:17 device.map.old
-rw-r--r-- 1 root root 7576 2007-09-21 14:59 e2fs_stage1_5
-rw-r--r-- 1 root root 7424 2007-09-21 14:59 fat_stage1_5
-rw-r--r-- 1 root root 6664 2007-09-21 14:59 ffs_stage1_5
-rw-r--r-- 1 root root 6656 2007-09-21 14:59 iso9660_stage1_5
-rw-r--r-- 1 root root 8128 2007-09-21 14:59 jfs_stage1_5
-rw------- 1 root root 1632 2007-11-08 11:16 menu.lst
-rw------- 1 root root 1280 2007-11-08 10:28 menu.lst.old
-rw-r--r-- 1 root root 6844 2007-09-21 14:59 minix_stage1_5
-rw-r--r-- 1 root root 9160 2007-09-21 14:59 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2007-09-21 14:59 stage1
-rw-r--r-- 1 root root 103162 2007-10-18 10:55 stage2
-rw-r--r-- 1 root root 104042 2006-12-07 20:01 stage2.old
-rw-r--r-- 1 root root 7004 2007-09-21 14:59 ufs2_stage1_5
-rw-r--r-- 1 root root 6228 2007-09-21 14:59 vstafs_stage1_5
-rw-r--r-- 1 root root 8820 2007-09-21 14:59 xfs_stage1_5


I'm gonna' say "no."

Did I mention that the upgrade process bombed when it came time to
install the boot loader and I had to patch it manually??


I guess I can use my 10.0 "device.map" file as a pattern for creating
one for the 10.3 system?

-==--==--=device.map{=--==--==-
(hd1) /dev/sdd
(fd0) /dev/fd0
(hd3) /dev/sda
(hd2) /dev/sdc
(hd0) /dev/sdb
-==--==--=}device.map=--==--==-


Not that I'm afraid of editing "device.map" myself (I've been fixing /
munging "menu.lst"), but is there a way using the openSUSE
administrative tools to repair such damage?

Can you file a bug report for this? The important bit is that device.map
is empty and perl-Bootloader isn't coming up with a sane default.

Actually, two bug reports. One against the installation component, and
the other against the kernel component. It's not a kernel bug, but part
of the process. I'll route it through to the perl-Bootloader maintainer.

-Jeff

--
Jeff Mahoney
SUSE Labs

Glad to see this is finally getting some attention. I put this to the list
when 10.3 first came out (IIRC) and I upgraded my computer but I didn't get a
response and have been manually fixing menu.lst. This morning having done
the kernel upgrade, I've had to edit menu.lst again. I was thinking that I
was the only person in the world with this problem. :-(
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Kernel Updates Put Bad Device Names In "/boot/grub/menu.lst"
    ... Not only grub but also lilo is being effected, that is if you are using lilo and lilo.conf look at my lilo.conf. ... Can you file a bug report for this? ... the other against the kernel component. ... This morning having done the kernel upgrade, I've had to edit menu.lst again. ...
    (SuSE)
  • Re: messed up upgrade 7.0 & 7.1 to 7.2
    ... to get Flash & Shockwave to work on a FreeBSD installation. ... I have not been able to figure out how a custom kernel could be ... Portsnap only updates the ports tree, ... upgrade I am supposed to provide the GENERIC kernel in /boot. ...
    (freebsd-questions)
  • Re: gcc updates
    ... This breaks all of the C code I have written for the final phases of the processing chain. ... I assume a similar scheme would allow me to upgrade from F8 to F9. ... It then downloads the anaconda installer, and places an entry in grub that allows selection of an upgrade fedora item. ... This work is quite disk and processor intensive, yet I never saw any kernel or other issues during about two months, and in trimming 100GB of mpeg data. ...
    (Fedora)
  • Re: Problems with Xorg video
    ... I am using kernel 2.6.8-2-386. ... kernel part of the graphics drivers which is needed by Xorg. ... udev upgrade. ...
    (Debian-User)
  • Re: messed up upgrade 7.0 & 7.1 to 7.2
    ... I have not been able to figure out how a custom kernel could be ... whatever else it should - all I got was error: configuration file not found ... Portsnap only updates the ports tree, ... upgrade I am supposed to provide the GENERIC kernel in /boot. ...
    (freebsd-questions)