Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-24-2011, 01:20 PM
#1
LQ Newbie
Registered: Mar 2011
Posts: 2
Rep:
Ubuntu grub failure
This question is similar to others I have read like:
http://www.linuxquestions.org/questi...-error-869673/
I have read posts to run the boot_info_script and have done so, the results.text are below.
I am running the Ubuntu 9.10 Server edition, it was running for several months and my fear is that I took a spike through the ups or something strange. The machine will boot using the live CD and I ran the update-grub to attempt to fix but I still receive :
GRUB loading.
error: unknown filesystem
grub rescue>
any help is appreciated.
Here is the text from the RESULTS.txt
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /grub.
sda1: _________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext2
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files/dirs:
dopey-root: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /etc/fstab
dopey-swap_1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x9c879c87
Partition Boot Start End Size Id System
/dev/sda1 * 63 155,798,369 155,798,307 8e Linux LVM
/dev/sda2 155,798,370 156,296,384 498,015 5 Extended
/dev/sda5 155,798,433 156,296,384 497,952 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/dopey-root 1ab4acbc-3a49-4e2e-801c-aa5e4d3879c3 ext4
/dev/mapper/dopey-swap_1 cd923882-f79c-414a-b3f3-b28f526ca0e0 swap
/dev/sda1 eSticb-4CIw-FSoA-mZkQ-Om2x-8qBB-Hz1PW5 LVM2_member
/dev/sda5 62e75da5-3e7f-4e4c-930c-e85301e34592 ext2
=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
dopey-root
dopey-swap_1
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/mapper/dopey-root / ext4 (rw,errors=remount-ro)
/dev/sda5 /boot ext2 (rw)
============================ dopey-root/etc/fstab: ============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/dopey-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=62e75da5-3e7f-4e4c-930c-e85301e34592 /boot ext2 defaults 0 2
/dev/mapper/dopey-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda5
00000000 bf ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 9b a4 08 00 c0 46 0c 00 83 83 02 01 6b 88 08 00 |.....F......k...|
00000030 c0 46 0c 00 87 89 02 01 31 a7 08 00 c0 46 0c 00 |.F......1....F..|
00000040 8f 8f 02 01 81 a7 08 00 c0 46 0c 00 95 95 02 01 |.........F......|
00000050 f7 a5 08 00 c0 46 0c 00 9a 9a 02 01 68 a1 08 00 |.....F......h...|
00000060 c0 46 0c 00 9c 9c 02 01 86 81 08 00 c0 46 0c 00 |.F...........F..|
00000070 a5 a5 02 01 13 8c 08 00 c0 46 0c 00 b4 b6 02 01 |.........F......|
00000080 9c a3 08 00 c0 46 0c 00 b8 b8 02 01 00 00 00 00 |.....F..........|
00000090 20 72 0d 00 b9 ff 00 00 00 00 00 00 00 00 00 00 | r..............|
000000a0 c8 8d 08 00 c0 46 0c 00 82 82 02 01 02 95 08 00 |.....F..........|
000000b0 c0 46 0c 00 86 86 02 01 f2 9b 08 00 c0 46 0c 00 |.F...........F..|
000000c0 89 89 02 01 44 9f 08 00 c0 46 0c 00 8b 8b 02 01 |....D....F......|
000000d0 a4 9f 08 00 c0 46 0c 00 8d 8d 02 01 01 97 08 00 |.....F..........|
000000e0 c0 46 0c 00 91 92 02 01 91 a7 08 00 c0 46 0c 00 |.F...........F..|
000000f0 96 96 02 01 25 9d 08 00 c0 46 0c 00 99 9a 02 01 |....%....F......|
00000100 85 a6 08 00 c0 46 0c 00 9c 9c 02 01 95 94 08 00 |.....F..........|
00000110 c0 46 0c 00 9e 9f 02 01 2e a3 08 00 c0 46 0c 00 |.F...........F..|
00000120 a1 a1 02 01 41 97 08 00 c0 46 0c 00 a3 a4 02 01 |....A....F......|
00000130 ef 88 08 00 c0 46 0c 00 a6 a8 02 01 2b 85 08 00 |.....F......+...|
00000140 c0 46 0c 00 aa ad 02 01 1c 22 08 00 c0 46 0c 00 |.F......."...F..|
00000150 bb bb 02 01 00 00 00 00 a0 72 0d 00 bc ff 00 00 |.........r......|
00000160 00 00 00 00 c0 78 0d 00 b8 b8 00 02 00 00 00 00 |.....x..........|
00000170 20 78 0d 00 b9 b9 00 02 00 00 00 00 40 77 0d 00 | x..........@w..|
00000180 ba ba 00 02 00 00 00 00 80 76 0d 00 bb bb 00 02 |.........v......|
00000190 00 00 00 00 00 76 0d 00 bc bc 00 02 00 00 00 00 |.....v..........|
000001a0 60 75 0d 00 bd bd 00 02 00 00 00 00 a0 74 0d 00 |`u...........t..|
000001b0 be be 00 02 00 00 00 00 e0 73 0d 00 bf bf 00 02 |.........s......|
000001c0 00 00 00 00 60 73 0d 00 c0 ff 00 00 00 00 00 00 |....`s..........|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 b9 88 08 00 c0 46 0c 00 82 84 02 01 65 99 08 00 |.....F......e...|
000001f0 c0 46 0c 00 89 8a 02 01 74 90 08 00 c0 46 0c 00 |.F......t....F..|
00000200
03-24-2011, 08:45 PM
#2
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,446
Quote:
Unknown BootLoader on sda5
Based on the above output in your boot_info_script, I would suggest you re-install Grub2 from your Ubuntu Live CD.
Check this link for how:
https://help.ubuntu.com/community/Gr...0from%20LiveCD
03-25-2011, 06:43 AM
#3
Moderator
Registered: Aug 2002
Posts: 25,592
Are you able to mount /sda5 from the live CD?
Make sure sda5 is not mounted check its file system by running fsck from the live CD.
04-02-2011, 06:23 AM
#4
LQ Newbie
Registered: Mar 2011
Posts: 2
Original Poster
Rep:
Thanks for the help, the disk has some bad sectors that are preventing me to access it. I found this post
http://www.webupd8.org/2010/02/how-t...n-damaged.html and am currently working through it to create the iso and possibly grab the data.
All times are GMT -5. The time now is 09:12 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News