[opensuse-factory] mkinitrd: bogus disk data
I recently cloned a 40G Seagate HD to a 80G WD, then replaced the smaller with the larger. Now I get error messages about not finding any Seagate partitions when mkinitrd runs. Where could the bogus Perl-Bootloader by-id WARNING data be coming from? Does the newest mkinitrd need a perl that hasn't been pushed yet? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, Jul 25, 2011 at 09:59:08AM -0400, Felix Miata wrote:
I recently cloned a 40G Seagate HD to a 80G WD, then replaced the smaller with the larger. Now I get error messages about not finding any Seagate partitions when mkinitrd runs. Where could the bogus Perl-Bootloader by-id WARNING data be coming from? Does the newest mkinitrd need a perl that hasn't been pushed yet?
It is not bogus. The file /boot/grub/device.map contains harddisk vendor and disk specific references, you need to adjust them. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 25 July 2011 15:07, Marcus Meissner
On Mon, Jul 25, 2011 at 09:59:08AM -0400, Felix Miata wrote:
It is not bogus.
The file /boot/grub/device.map contains harddisk vendor and disk specific references, you need to adjust them.
It can sometimes be bogus, I've got GRUB menu entries for disks I swap in/out, and it is fine so long as how GRUB is installed is consistent with situation at boot time, and the entries I actually use can be found. So 2 GRUB installations, plus another disk using another OS's boot loader. In such cases, I've found the "mkinitrd -B" option helpful to avoid uncessary runs of Perl Bootloader and avoid unwanted reporting. ROb -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/25/2011 09:59 AM, Felix Miata wrote:
I recently cloned a 40G Seagate HD to a 80G WD, then replaced the smaller with the larger. Now I get error messages about not finding any Seagate partitions when mkinitrd runs. Where could the bogus Perl-Bootloader by-id WARNING data be coming from? Does the newest mkinitrd need a perl that hasn't been pushed yet?
Are you using by-id in your /etc/fstab or in /boot/grub/device.map? If so, then that's your problem. Swapping out disks that use by-id doesn't work without cleaning up afterwards because by-id is keyed off the serial number of the disk. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4teK8ACgkQLPWxlyuTD7J3bgCfc8IOw3eDc45IUOQNjp3SO0MM rWQAn0oU1K6Mvue/Ucdx1vWeLZNFdNGc =hB1S -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 2011/07/25 10:07 (GMT-0400) Jeff Mahoney composed:
On 07/25/2011 09:59 AM, Felix Miata wrote:
I recently cloned a 40G Seagate HD to a 80G WD, then replaced the smaller with the larger. Now I get error messages about not finding any Seagate partitions when mkinitrd runs. Where could the bogus Perl-Bootloader by-id WARNING data be coming from? Does the newest mkinitrd need a perl that hasn't been pushed yet?
Are you using by-id in your /etc/fstab or in /boot/grub/device.map? If so, then that's your problem. Swapping out disks that use by-id doesn't work without cleaning up afterwards because by-id is keyed off the serial number of the disk.
It was device.map, but it wasn't me - YaST did it. ;-) I only use LABEL in fstab, but forgot about device.map. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Mon, 25 Jul 2011 10:07:43 -0400
schrieb Jeff Mahoney
Are you using by-id in your /etc/fstab or in /boot/grub/device.map? If
Of course. That's the default, even if it is the most useless default one can think of :-) And last time I tried, changing it during installation did not work, because the configuration is already done when you get to changing the default what naming to use... And as edd also seems to no longer work and the module is no longer autoloaded, the only sane option is by-path, if you want to be able to migrate to a different disk. -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (5)
-
Felix Miata
-
Jeff Mahoney
-
Marcus Meissner
-
Rob Davies
-
Stefan Seyfried