slam888
February 13th, 2009, 09:54 PM
i install xubuntu on an external HDD then when i first boot it up it say
grub error 2
been lookin at some post and have past my fdisk blah blah
dsl@box:~$ sudo fdisk -lu
Disk /dev/sda: 15.1 GB, 15103033344 bytes
255 heads, 63 sectors/track, 1836 cylinders, total 29498112 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 63 28161944 14080941 83 Linux
/dev/sda2 28161945 29495339 666697+ 5 Extended
/dev/sda5 28162008 29495339 666666 82 Linux swap
dsl@box:~$ sudo dd if=/dev/sda count=1 2>/dev/null | strings | grep -ie grub -ie "missing operating system"
GRUB
dsl@box:~$ sudo dd if=/dev/sda bs=1 skip=1049 count=2 2>/dev/null | hexdump | awk '{print $2}'
ff00
grub error 2
been lookin at some post and have past my fdisk blah blah
dsl@box:~$ sudo fdisk -lu
Disk /dev/sda: 15.1 GB, 15103033344 bytes
255 heads, 63 sectors/track, 1836 cylinders, total 29498112 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 63 28161944 14080941 83 Linux
/dev/sda2 28161945 29495339 666697+ 5 Extended
/dev/sda5 28162008 29495339 666666 82 Linux swap
dsl@box:~$ sudo dd if=/dev/sda count=1 2>/dev/null | strings | grep -ie grub -ie "missing operating system"
GRUB
dsl@box:~$ sudo dd if=/dev/sda bs=1 skip=1049 count=2 2>/dev/null | hexdump | awk '{print $2}'
ff00