Sir Johann and Sir Jan,

I did what Sir Johann instructed and
rebooted. I got the Ubuntu on my hard drive to load. No more Grub error
17. But there was another problem. It was checking something and
sometime in the middle, it went to a black screen with text saying that
fsck needs to be run manually. So I entered root password and ran fsck.
Then it showed something about inodes and prompted me for "yes" and I
did for some time, not really knowing what's happening. But after a few
prompts, I pressed Ctrl+Alt+Del and tried to get out. When I managed to
get out, I ran an Ubuntu Live CD and checked. The HDD was already mounted. But 
I couldnt find my
user folder and other files. Most of the things that I see are system files. 

I tried "sudo fsck /dev/sda1" and it gave me the warning below.

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Should I just go with yes? Can I still view a filesystem when it's unmounted?


Roy 




________________________________
From: Johann Vincent Paul Tagle <[email protected]>
To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
<[email protected]>
Cc: [email protected]
Sent: Sunday, January 25, 2009 11:26:23 AM
Subject: Re: [plug] about grub error 17

Roy,

I tried out the procedure I described before responding to you and did not 
encounter any issue.  The live cd did not mount the existing partitions 
automatically, but I had no problem mounting them using the steps I listed.  I 
can't think of any other thing to check, except maybe try ext2 as filesystem 
type?  I doubt this, since ext3 is now used by default.  But no harm trying 
right? =)

Johann


On Sun, Jan 25, 2009 at 7:03 PM, jan gestre <[email protected]> wrote:

When you booted to the live cd, what's the output of the mount command? The 
live cd usually  mounts your existing partitions automatically that is why 
you're encountering errors when mounting them. If the live cd did not mount any 
of your partitions, then try to mount with specifying the filesystem type. You 
can also do the a filesystem check by invoking fsck.



On Sun, Jan 25, 2009 at 2:57 PM, roy bayot <[email protected]> wrote:

Hi. Thank you for the replies.

@ Mr. Jan Gestre

I've tried "sudo grub-install /dev/hda" and it throws out the message 
"/dev/cloop does not have any corresponding BIOS drive". I also tried it with 
hda1, hda2, and hda5 since those are the partitions that I have but it still 
gives out the same message.

@ Mr. Johann Tagle

I tried what you told me. I booted from DSL, and I've tried "sudo fdisk -l 
/dev/hda" and it shows the hda with the partitions. 

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *           1        4660    37431418+  83  Linux
/dev/hda2            4661        4865     1646662+   5  Extended
/dev/hda5            4661        4865     1646631   82  Linux swap

Then I tried something first. I typed "sudo mkdir /mnt/ubuntu" and then "sudo 
mount -t ext3 /dev/hda1 /mnt/ubuntu". And it threw out "mount: wrong fs type,  
bad option, bad superblock on /dev/hda1, or too many mounted file systems."

Then I tried to add "/dev/hda1 /mnt/ubuntu ext3". And tried "sudo mount 
/dev/hda1" and got a message "mount: relocation error mount: undefined symbol: 
blkid_unknown_fstype". 

Again, I dont really know what to do. File system type perhap? How can I 
determine that?

Thank you again for your time.

Roy




--- On Sun, 1/25/09, Johann Vincent Paul Tagle <[email protected]> wrote:

From: Johann Vincent Paul Tagle <[email protected]>
Subject: Re: [plug] about grub error 17
To: "Philippine Linux Users' Group (PLUG) Technical Discussion List" 
<[email protected]>
Date: Sunday, January 25, 2009, 10:49 AM



After booting from from live disc, how did you try to detect the harddisk?  Do 
you mean you already tried to do something like sudo fdisk /dev/sda (or 
/dev/hda) and got an error?  If that's the case then you likely have a hardware 
problem.  If fdisk is able to detect the drive, then you need to mount it.  
From fdisk you will be able to identify what partitions you have to mount.  
Create a temporary directory you will mount the partition to.  Then edit 
/etc/fstab and add something like:

/dev/sda1 /full/path/to/your/temp/directory ext3

Then execute sudo mount /dev/sda1 and you should be able to read your hard disk.

Hope this helps,

Johann


On Sat, Jan 24, 2009 at 11:17 PM, roy bayot <[email protected]> wrote:

Hi. Good day.

I am relatively new to Linux and I'm writing because I would like to ask for 
help. I've been using Ubuntu as my only OS for about 8 months now and 
everything seemed fine until now. I couldnt get into the desktop. 

When I open my PC, there's that black screen that says:

grub loading please wait 
error 17

I tried booting from a live disk. One from Ubuntu Hardy Heron. Another from 
Knoppix. My goal was just to recover my files and copy it an external hard 
disk. At both times, I could not see the hard disk with the Linux OS installed 
in it. 

So I tried googling about grub error 17 and it turned me to this page. 
Eventually, I ended up on another page that talked about using Super Grub Disk. 
I tried the Super Grub Disk but it still didnt work.

I also learned that this error is usually for those with multiple OSes. And I 
am really starting to wonder why I got this error since I only have Ubuntu 
installed in my machine.

When I was also using the live cd, I tried using the terminal and typing "sudo 
fdisk -l" and "sudo gedit /boot/grub/menu.lst" based on a post in the ubuntu 
forum. When I entered the second command, the file was blank. 

Finally, I thought of just restoring Grub from the live cd based on another 
ubuntu forum post. But when I entered "find /boot/grub/stage1", it throws out 
"Error 15: File not found".

I really just want my files back. Thank you for your time.


Roy


 




_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph



-- 
Web application and database consulting: www.sagadasolutions.com

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug


Searchable Archives: http://archives.free.net.ph 

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph



-- 
http://jangestre.wordpress.com

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph



-- 
Web application and database consulting: www.sagadasolutions.com



      
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to