Lost Grub - 2

Willis Taylor th1bill at sbcglobal.net
Tue Jul 21 05:44:52 UTC 2009


> I am a beginner
> at Linux and please, I??d appreciate if the answer could be
like ???for dummies???.
> 
> Here are my partitions:
> 
> ubuntu at ubuntu:~$ sudo parted /dev/sda print
> Model: ATA ST340014A (scsi)
> Disk /dev/sda: 40.0GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> 
> Number  Start  End    Size    Type      File system  Flags
> 1      32.3kB  30.0GB  30.0GB  primary  ntfs        boot
> 2      30.0GB  40.0GB  10.0GB  extended                   
> 5      30.0GB  32.0GB  1999MB  logical  linux-swap       
> 6      32.0GB  40.0GB  8011MB  logical  ext3             
> 
> 
> ubuntu at ubuntu:~$ sudo parted /dev/sdb print
> Model: ATA SAMSUNG HD161HJ (scsi)
> Disk /dev/sdb: 160GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> 
> Number  Start  End    Size    Type    File system  Flags
> 1      32.3kB  62.9GB  62.9GB  primary  ntfs        boot
> 2      62.9GB  160GB  97.1GB  primary  ntfs             
> 
> ubuntu at ubuntu:~$
> 
> thanks
> 
> flavio
> 

flavio, 
   I'm no expert ut from the web I found this;
1. Use the Live CD to boot
2. open the terminal at Applications>Accessories>Terminal
3. type... sudo chroot /mnt
4. type... sudo grub-install /dev/sda
5. reboot without the CD

On the website it said that this will install grub onto your MBR





More information about the ubuntu-users mailing list