rendered paste bodyfdisk -lu
Disk /dev/sda: 4335 MB, 4335206400 bytes
255 heads, 63 sectors/track, 527 cylinders, total 8467200 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 63 8048564 4024251 83 Linux
/dev/sda2 8048565 8466254 208845 5 Extended
/dev/sda5 8048628 8466254 208813+ 82 Linux swap
Disk /dev/hdg: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders, total 398297088 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 * 63 398283479 199141708+ a5 FreeBSD
Disk /dev/hde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hde1 * 63 488392064 244196001 a5 FreeBSD
-------------------------------------
[/mnt/sda1/boot/grub]# cat device.map
(hd0) /dev/hde
(hd1) /dev/hdg
(hd2) /dev/sda
-------------------------------------
part of cat /mnt/sda1/boot/grub/menu.lst
title Ubuntu, kernel 2.6.15-26-server
#root (hd2,0)
root (hd2,1)
kernel /boot/vmlinuz-2.6.15-26-server root=/dev/sda1 ro quiet splash no
apic nolapic pci=noacpi acpi=off
initrd /boot/initrd.img-2.6.15-26-server
savedefault
boot
title Ubuntu, kernel 2.6.15-26-server (recovery mode)
#root (hd2,0)
root (hd2,1)
kernel /boot/vmlinuz-2.6.15-26-server root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.15-26-server
boot
title Ubuntu, memtest86+
#root (hd2,0)
root (hd2,1)
kernel /boot/memtest86+.bin
boot
-------------------------------------
grub> find /boot/grub/stage2
(hd2,0)
grub>
-------------------------------------
after mounting sda1 to /mnt/s
ls -l
drwxr-xr-x 2 root root 4096 May 19 21:47 bin
drwxr-xr-x 3 root root 4096 May 19 21:47 boot
lrwxrwxrwx 1 root root 11 May 19 21:31 cdrom -> media/cdrom
drwxr-xr-x 11 root root 32768 May 19 21:49 dev
drwxr-xr-x 54 root root 4096 May 19 21:48 etc
drwxr-xr-x 3 root root 4096 May 19 21:48 home
drwxr-xr-x 2 root root 4096 May 19 21:33 initrd
lrwxrwxrwx 1 root root 32 May 19 21:43 initrd.img -> boot/initrd.img-2.6.15-26-server
drwxr-xr-x 16 root root 4096 May 19 21:47 lib
drwxr-xr-x 2 root root 49152 May 19 21:31 lost+found
drwxr-xr-x 4 root root 4096 May 19 21:31 media
drwxr-xr-x 2 root root 4096 Aug 3 2006 mnt
drwxr-xr-x 2 root root 4096 May 19 21:33 opt
drwxr-xr-x 2 root root 4096 Aug 3 2006 proc
drwxr-xr-x 3 root root 4096 May 19 21:43 root
drwxr-xr-x 2 root root 4096 May 19 21:48 sbin
drwxr-xr-x 2 root root 4096 May 19 21:33 srv
drwxr-xr-x 2 root root 4096 May 21 2006 sys
drwxrwxrwt 2 root root 4096 May 19 21:49 tmp
drwxr-xr-x 10 root root 4096 May 19 21:33 usr
drwxr-xr-x 13 root root 4096 May 19 21:33 var
lrwxrwxrwx 1 root root 29 May 19 21:43 vmlinuz -> boot/vmlinuz-2.6.15-26-server