[lfs-support] Grub 2.0 problem

Tobias Gasser lfs at ebp-gasser.ch
Thu Nov 15 10:07:00 PST 2012


Am 14.11.2012 00:26, schrieb Bruce Dubbs:

>
> I don't know what is going on.  How is the disk partitioned?
>
> fdisk -l /dev/sda


bash-4.2# fdisk -l

Disk /dev/sda: 300.1 GB, 300069052416 bytes, 586072368 sectors
Units = Sektoren of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008462b

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *        2048      206847      102400   83  Linux
/dev/sda2          206848    30926847    15360000   83  Linux
/dev/sda3        30926848    61646847    15360000   83  Linux
/dev/sda4        61646848   586072063   262212608    5  Erweiterte
/dev/sda5        61648896    92368895    15360000   83  Linux
/dev/sda6        92370944   123090943    15360000   83  Linux
/dev/sda7       123092992   153812991    15360000   83  Linux
/dev/sda8       153815040   184535039    15360000   83  Linux
/dev/sda9       184537088   215257087    15360000   83  Linux
/dev/sda10      215259136   280795135    32768000   83  Linux
/dev/sda11      280797184   586072063   152637440   83  Linux


> What is the output of
>
> ls -l /usr/lib/grub/i386-pc/*.img

bash-4.2# ls -l *.img
-rw-r--r-- 1 root root   512 14. Nov 01:43 boot.img
-rw-r--r-- 1 root root   512 14. Nov 01:43 cdboot.img
-rw-r--r-- 1 root root   512 14. Nov 01:43 diskboot.img
-rw-r--r-- 1 root root 28856 14. Nov 01:43 kernel.img
-rw-r--r-- 1 root root  1024 14. Nov 01:43 lnxboot.img
-rw-r--r-- 1 root root  2848 14. Nov 01:43 lzma_decompress.img
-rw-r--r-- 1 root root  1024 14. Nov 01:43 pxeboot.img


>
> grub is acting like the drivers for your hw are not properly embedded in
> it's image on track 0.

yes. but i have no idea why this happens.

the 2 grubs from ubuntu and parted magic run fine. it's just my 
self-compiled version where i have the problem.


tobias



More information about the lfs-support mailing list