[LBo] Re: Grub wont come up

Rafi Gabzu rafi.gabzu at gmail.com
Sat Mar 3 06:05:55 CET 2007


I tried the fdisk /dev/hda  t , 2,83 .  I also printed the partition and it
showed me that /dev/hda2 is a Linux partition, still the gparted wont
recognize it and Grub gives me the same errors when I try the find command.

On 3/2/07, Anita Lewis <a.lewis at linuxbasics.org> wrote:
>
> On 03/02/2007 06:51 AM Rafi Gabzu wrote:
> > I boot from  a floppy disk that contain GRUB , without it (suddenly) I
> boot
> > straight to Windows, which works
> > The error I'm getting  when trying to find /usr/sbin  "Error 15 : file
> not
> > found " or "Error 17:cannot mount selected partition" when I'm using
> tab.
> > When I look at the partitions through gparted I see
> > 1. /dev/hda1 ntfs 19 GiB - my windows partition
> > 2. /dev/hda2  unknown 17Gib
> > 3. 1Gib - unallocate -  I do not know where this came from
> ....  probably
> > used to be  part  of the Linux partition and maybe  is causing me all
> the
> > trouble
> > 4. Swap - 588 M
> >
> > Item 2 should have been my Linux ext3 partition but it wont recognize it
> as
> > any fs. When I try to resize /combine item 2 and/or 3
> > it won't let me .
> > Thanks,
> > Rafi
>
> Ah, this is nicely descriptive.  Thank you.
>
> It may be that you can recover Linux.  You said in the beginning that
> you resized and increased the size of the Linux partition.  Whatever you
> used must have changed the partition type on the bigger /dev/hda2.
>
> You can try to make the type into ext2/ext3.  They are the same really
> except that there is a journal on ext3. To do this, you will need the
> Linux fdisk.  Do not use Windows fdisk; it is very different and will
> destroy the data.  Linux fdisk will rewrite the partition table, but
> will not destroy data.
>
> You need a floppy with Linux fdisk on it.  This is the rescue disk I
> love to mention.  Since you use a floppy drive, I'd say for you to get
> RIP or Tom's.  I have the link for RIP.  Just get the floppy version as
> it will be quicker for you to deal with.  Put it on a floppy as per
> directions. If you already have a cd linux with fdisk on it, then that
> will be fine as well.
> http://www.tux.org/pub/people/kent-robotti/looplinux/rip/
>
> When you have the rescue linux running and are not mounted on your hard
> drive, as root run
>
> fdisk /dev/hda
>
> 'm' gives you the command list
> 'l' gives you the type list.  You want 83, Linux type.
> 't' allows you to change the type.  Choose partition 2 and give it type
> 83.
> 'w' this writes the partition table with the new information.
>
> Then try grub again.  It might just work or you might have to try
> commandline grub.
>
> Let us know what happens, please.
>
>
> Anita
>
>
>
>
>
> --
> QnA mailing list - To post: QnA at linuxbasics.org
> Site: http://LinuxBasics.org
> List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna
>
>


More information about the QnA mailing list