Skip to main content

Thread: Problem with grub


my netbook crashed while trying save open office doc in old word format. after forcing reboot, got grub rescue prompt. tried going through grub rescue mode commands in ubuntu documentation, kept getting "unknown filesystem". after running boot info scripts can see there problem filesystem in sda1, have no idea how fix this. appreciated!
results of boot info scripts below , attached.

code:
boot info script 0.55    dated february 15th, 2010                      ============================= boot info summary: ==============================   => grub 2 installed in mbr of /dev/sda , looks on same drive in      partition #1 /boot/grub.  => syslinux installed in mbr of /dev/sdb  sda1: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sda2: _________________________________________________________________________      file system:       extended partition     boot sector type:  -     boot sector info:    sda5: _________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    sdb1: _________________________________________________________________________      file system:       vfat     boot sector type:  fat32     boot sector info:  according info in boot sector, sdb1 starts                         @ sector 0. according info fdisk,                         sdb1 starts @ sector 62.     operating system:       boot files/dirs:     =========================== drive/partition info: =============================  drive: sda ___________________ _____________________________________________________  disk /dev/sda: 160.0 gb, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes  partition  boot         start           end          size  id system  /dev/sda1    *          2,048   306,620,415   306,618,368  83 linux /dev/sda2         306,622,462   312,580,095     5,957,634   5 extended /dev/sda5         306,622,464   312,580,095     5,957,632  82 linux swap / solaris   drive: sdb ___________________ _____________________________________________________  disk /dev/sdb: 8118 mb, 8118075392 bytes 250 heads, 62 sectors/track, 1022 cylinders, total 15855616 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes  partition  boot         start           end          size  id system  /dev/sdb1    *             62    15,840,999    15,840,938   c w95 fat32 (lba)   blkid -c /dev/null: ____________________________________________________________  device           uuid                                   type       label                           /dev/loop0                                              squashfs                                  /dev/sda2: pttype="dos"  /dev/sda5        ddb10d2b-9693-4092-a11d-72d7f09297a1   swap                                      /dev/sda: pttype="dos"  /dev/sdb1        e392-adbb                              vfat                                      /dev/sdb: pttype="dos"   ============================ "mount | grep ^/dev  output: ===========================  device           mount_point              type       options  aufs             /                        aufs       (rw) /dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/loop0       /rofs                    squashfs   (ro,noatime)  =========================== unknown mbrs/boot sectors/etc =======================  unknown bootloader  on sda1  00000000  03 00 2e 00 0c 00 01 02  2e 00 00 00 8d 12 2c 00  |..............,.| 00000010  0c 00 02 02 2e 2e 00 00  05 00 2e 00 34 00 08 01  |............4...| 00000020  4d 61 6b 65 66 69 6c 65  64 70 6b 67 2d 6e 65 77  |makefiledpkg-new| 00000030  05 00 2e 00 1c 00 11 01  4d 61 6b 65 66 69 6c 65  |........makefile| 00000040  2e 64 70 6b 67 2d 6e 65  77 00 00 00 0a 00 2e 00  |.dpkg-new.......| 00000050  18 00 0a 02 66 75 6c 6f  6f 6e 67 2d 32 65 67 2d  |....fuloong-2eg-| 00000060  6e 65 77 00 06 00 2e 00  10 00 06 02 63 6f 6d 6d  |new.........comm| 00000070  6f 6e 00 00 04 00 2e 00  1c 00 07 01 4b 63 6f 6e  |on..........kcon| 00000080  66 69 67 32 66 2e 64 70  6b 67 2d 6e 65 77 77 00  |fig2f.dpkg-neww.| 00000090  0c 00 2e 00 70 0f 09 02  6c 65 6d 6f 74 65 2d 32  |....p...lemote-2| 000000a0  66 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |f...............| 000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| * 00000200
attached files attached files

yeah, appears have repair filesystem on sda1. aware @ times may lose lot of data during repair process. so, advisable make copy of either partition or whole disk tool "ddrescue" try other methods recover more data later on:
http://www.gnu.org/software/ddrescue....html#examples

once done (or if decide take risk , skip it), run following commands livecd or liveusb
code:
sudo e2fsck -c0 -p -f -v /dev/sda1
if gives errors, run:
code:
sudo e2fsck -f -y -v /dev/sda1
finally, reboot.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu Problem with grub


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support