Fwd: Re: grub rescue

Goh Lip g.lip at gmx.com
Fri May 7 17:47:44 UTC 2010


On 05/08/2010 01:32 AM, JAVIER GARDEAZABAL wrote:
> On 05/08/2010 12:29 AM, Goh Lip wrote:
>> On Fri, 7 May 2010 17:25:21 +0200
>> Javier Gardeazabal<javier.gardeazabal at ehu.es>   wrote:
>
>
>>> I booted from a livecd and typed
>>>
>>> sudo fdisk -l
>>> sudo mount /dev/sda1 /mnt
>
> Javier, do you have other OS other than kubuntu, like windows?
> Do you know how many partitions you had?
> And, do you remember the output of "sudo fdisk -l" above?
>
> Regards - Goh Lip
>
> Dear Goh
>
> Thanks a lot for your help.
> I did not try your last suggestions yet.
> I do not have windows in my box.
> This is what fdisk delivers
>
> ubuntu at ubuntu:~$ sudo fdisk -l
>
> Disk /dev/sda: 146.8 GB, 146815733760 bytes
> 255 heads, 63 sectors/track, 17849 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0ecab17e
>
>      Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1       17119   137508336   83  Linux
> /dev/sda2           17120       17849     5863725    5  Extended
> /dev/sda5           17120       17849     5863693+  82  Linux swap / Solaris
>
> Disk /dev/sdb: 300.0 GB, 300000000000 bytes
> 255 heads, 63 sectors/track, 36472 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xe5b8e05c
>
>      Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               2       36472   292953307+   7  HPFS/NTFS
>
>
> Best
> javier

Phew!   That's a relief! (for me)
I've put this message in my draft and just for kicks, I'll share it with 
you..

*draft*
Extract of http://grub.enbug.org/Grub2LiveCdInstallGuide  :

<extract>
Step Two: Mounting and chroot'ing

Open a Terminal window and type sudo fdisk -l (That's a lowercase L at 
the end).
Now this part can be tricky because you have to figure out which one of 
those listed devices is your linux installation. The easiest way is to 
see which one is listed as Linux, so remember this value. Mine was 
/dev/sda1 and so I will use that as reference in this guide.
If you got a separate /boot partition, you'll have to mount it too.
<end extract>


Javier, I think you have messed up your windows partition as windows 
normally resides in sda1.

chrooting is inherently very risky as you are in root and can do real 
damage. You should be very sure about the partition at sudo fdisk -l 
before you proceed. I myself would not touch chroot.

*undraft*

Javier, if you need me to send you a grub iso,(and you can burn to a cd) 
I'll gladly do so.


Take care, regards  - Goh Lip





More information about the kubuntu-users mailing list