[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-16 Thread Fabian Zeindl
grub-probe: info: cannot open `/boot/grub/device.map'. grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0. grub-probe: info: the size of hd0 is 976773168. grub-probe: info: the size of hd0 is 976773168. grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1. grub-probe:

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
*sigh* I resized all my disks to be a bit smaller, but it still doesn't help. Though the message has changed, now it's only error: found two disks with the index 3 for RAID md0. the index 0 message went away. Any tips? -- You received this bug notification because you are a member of Ubuntu

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
Ill post the output of /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub I resized the partition to be from sector 2048 to 976772000 (of 976773168). /usr/sbin/grub-probe: info: cannot open `/boot/grub/device.map'. /usr/sbin/grub-probe: info: Scanning for

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Phillip Susi
I think you left the original metadata in place so both sets are being recognized. Try using dd to zero the sectors from the end of the partition to the end of the drive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
You, Sir, are a pleasure to work with. I did dd if=/dev/zero bs=512 seek=976772001 of=/dev/sdX on each disk. Though i'm not sure if seek should have been one less, do you know that? Anyway, grub-install now only shows: sudo grub-install /dev/sda error: superfluous RAID member (4 found). error:

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
Also: Does grub2 still need /boot/grub/device.map? The installer didn't create one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/999076 Title: Upgrade vom 10.04 LTS Server to 12.04 LTS Server

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread H.-Dirk Schmitt
See http://savannah.gnu.org/bugs/?34250 for a workaround ** Bug watch added: GNU Savannah Bug Tracker #34250 http://savannah.gnu.org/bugs/?34250 ** Also affects: grub via http://savannah.gnu.org/bugs/?34250 Importance: Unknown Status: Unknown -- You received this bug

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
Will this remove the superfluous RAID member warnings? Because they are the only ones left. I'm asking because i'm remotely logged into the machine and can't stop the RAID to zero the superblock -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Phillip Susi
device.map is depreciated, so no, you shouldn't have one. Whether the sector is correct depends on your new partition table ( fdisk -lu ). Those errors still don't sound good but I'm not sure of the cause, maybe try adding the verbose/debug flags back in? -- You received this bug notification

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Phillip Susi
If you shrank the partition enough and zeroed the free space following the partition, that should fix the errors. What is your current fdisk -lu show? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Fabian Zeindl
Hm. But at least it said installation finished. Disk /dev/sda: 500.1 GB, 500107862016 bytes 18 heads, 30 sectors/track, 1808839 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes /

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-15 Thread Phillip Susi
I though that 512k was enough room to prevent the partition metadata from being detected on the whole disk, but maybe it was 1mb? Try grub- probe --target=fs -v /boot/grub again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-14 Thread Phillip Susi
Can you please post the output of sudo mdadm -D /dev/md? and sudo fdisk -lu? ** Changed in: grub2 (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/999076

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-14 Thread Fabian Zeindl
/dev/md0: Version : 0.90 Creation Time : Sat Aug 28 16:19:54 2010 Raid Level : raid5 Array Size : 1465148736 (1397.27 GiB 1500.31 GB) Used Dev Size : 488382912 (465.76 GiB 500.10 GB) Raid Devices : 4 Total Devices : 5 Preferred Minor : 0 Persistence : Superblock is

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-14 Thread Fabian Zeindl
Right now i'm trying to resize the individual partition to leave some space at the end of the disk, since i think my bug might be related to this: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/776422 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-14 Thread Phillip Susi
That's what I was thinking. By the way, how did you find that bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/999076 Title: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub To

[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

2012-05-14 Thread Fabian Zeindl
By googling for a few hours, i can't reproduce my query though. Maybe one should mention that since i don't want to rebuild my entire raid, apparently it's ok for mdadm if you fail a disk, shrink the partition a bit and re-add it. Apparently there's margin for error, at least mdadm doesn't