Bug#611537: Bug#643507: not really solved

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Fri Feb 3 12:40:15 UTC 2012


On 03.02.2012 13:04, Diego Guella wrote:
>
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder at gmail.com>
>> Both Colin Watson and I tried to reproduce it or similar problems but 
>> couldn't other than on heavily desynced and corrupted disk. If you 
>> can supply the test images (just GRUB+kernel) using latest bzr 
>> upstream I'd happily fix it, otherwise I don't see what I can do.
>
> I need to understand better what you need.
> Do you need the dd images of all the disks?
>
No. The best is to do something like:
for i in 1 2 3 4 5; do
qemu-img create $.img 100M;
losetup /dec/loop$i;
done
<recreate a similar md>
mke2fs /dev/md/devfake
mount ...
for i in 1 2 3 4 5; do
grub-install --boot-directory=/mnt/md/boot /dev/loop$i
done
cp /boot/grub/grub.cfg /mnt/md/boot/grub/grub.cfg
<copy kernels>
qemu 3.img  (check that it fails)
In preference all with latest HEAD and I may also need 
grub-core/*.module from compile directory to get debug symbols

> This is a summary of the first disk:
> -----
> root at devilserver:~# fdisk -u -l /dev/sda
>
> Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
> 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0007982f
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1            2048     1953791      975872   82  Linux swap / 
> Solaris
> Partition 1 does not end on cylinder boundary.
> /dev/sda2         1953792    99610623    48828416   fd  Linux raid 
> autodetect
> /dev/sda3        99610624  3907028991  1903709184   fd  Linux raid 
> autodetect
> -----
>
> Supplying the entire image, even omitting the 3rd partition (/home) is 
> not feasible, both for size (40+GiB) and for security reasons.
> What I can do for sure is blank out one of the 5 disks, and do 
> whatever you tell me to do on it.
> Or supply a dd image of the first 2048 sectors of the disk.
> Or the first sectors of the / partition.
> Or the files in my /boot directory.
>
> I want to remember you this:
> -When the system works, the "Welcome to GRUB" appears for some 
> milliseconds, then I see the GRUB menu.
> -When the system does not work (original installation HDDs missing), 
> "Welcome to GRUB" appears for some time, then the system reboots.
> This is way before loading the kernel.
>
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko






More information about the Pkg-grub-devel mailing list