On 13.04.2012 01:53, Tim Johnston wrote: > > I'm trying to copy an existing system on a new md array. But I can't > get the system to boot off the new disks. Ubuntu Natty. I have Kubuntu > CD, I boot off that, reinstall mdadm, then: Please use GRUB from HEAD for mdraid. > > >> sudo -i >> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 >> mdadm --assemble /dev/md1 /dev/sda5 /dev/sdb5 >> mdadm --assemble /dev/md2 /dev/sda6 /dev/sdb6 >> mdadm --assemble /dev/md3 /dev/sda7 /dev/sdb7 >> mkdir /md0 >> mount /dev/md0 /md0 >> mount /dev/md1 /md0/var >> mount /dev/md3 /md0/home >> mount -o bind /dev /md0/dev >> mount -t proc none /md0/proc >> mount -t sysfs none /md0/sys >> chroot /md0 > > Then try to reinstall grub > > #aptitude reinstall grub-pc : > >> Setting up grub-common (1.99~rc1-13ubuntu3) ... >> invoke-rc.d: ---------------------------------------------------- >> invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence >> invoke-rc.d: enabling safe mode: initscript policy layer disabled >> invoke-rc.d: ---------------------------------------------------- >> Setting up grub-pc (1.99~rc1-13ubuntu3) ... >> >> Creating config file /etc/default/grub with new version >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> /usr/sbin/grub-probe: error: no such disk. >> Auto-detection of a filesystem of /dev/md0 failed. >> Please report this together with the output of "/usr/sbin/grub-probe >> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to >> <bug-grub@gnu.org> >> Setting up grub-gfxpayload-lists (0.2) ... >> Press return to continue. >> > > > # /usr/sbin/grub-probe --device-map="/boot/grub/device.map" > --target=fs -v /boot/grub : > >> /usr/sbin/grub-probe: info: cannot open `/boot/grub/device.map'. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: scanning hd0 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: scanning hd1 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: scanning md/0 for LVM. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning md/1 for LVM. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning md/2 for LVM. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning md/3 for LVM. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd0 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: scanning hd0,msdos8 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd0,msdos7 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd0,msdos6 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd0,msdos5 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd0,msdos1 for LVM. >> /usr/sbin/grub-probe: info: the size of hd0 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd1 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: scanning hd1,msdos8 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd1,msdos7 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd1,msdos6 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd1,msdos5 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: scanning hd1,msdos1 for LVM. >> /usr/sbin/grub-probe: info: the size of hd1 is 488397168. >> /usr/sbin/grub-probe: info: no LVM signature found >> . >> /usr/sbin/grub-probe: info: changing current directory to /dev. >> /usr/sbin/grub-probe: info: opening md0. >> /usr/sbin/grub-probe: error: no such disk. >> >> > > > # dpkg -l | grep grub: > >> ii grub-common >> 1.99~rc1-13ubuntu3 GRand Unified Bootloader, >> version 2 (common files) >> iU grub-gfxpayload-lists >> 0.2 GRUB gfxpayload blacklist >> iF grub-pc >> 1.99~rc1-13ubuntu3 GRand Unified Bootloader, >> version 2 (PC/BIOS version) >> > > I've been trying to get the new system to boot for ages, but keep > failing to do that, and I don't know where to go from here. Can > someone assist? > > regards, Tim > > > > _______________________________________________ > Bug-grub mailing list > Bug-grub@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-grub >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub