Mailinglist Archive: opensuse (3513 mails)

< Previous Next >
Re: [opensuse] New partition killed MBR?
  • From: Teruel de Campo MD <chusty@xxxxxxxxxxxxx>
  • Date: Tue, 06 Jan 2009 12:19:05 -0700
  • Message-id: <1231269545.6501.30.camel@xxxxxxxx>
On Tue, 2009-01-06 at 12:32 -0600, L. V. Lammert wrote:
At 11:14 AM 1/6/2009 -0700, Teruel de Campo MD wrote:
1. what did you use as boot manager grub?

Yep - default install.

2. how did you create new partitions? what program did you use?

11.1 partition manager.

3. just boot from a live cd

# fdisk -l

and post it.

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 2 3917 31455270 f W95 Ext'd
/dev/sda2 3918 11749 62910540 83 Linux
/dev/sda3 11750 15012 26210047+ 83 Linux
/dev/sda5 2 392 3140676 82 Linux swap /
/dev/sda6 393 3655 26210016 83 Linux
/dev/sda7 3656 3917 2104483+ 83 Linux


That's weird setup.

I looks like you created first an extended partition as container (sda1)
sda5 as swap
sda6 root???
sda7 home??

and then you have two primary partitions

I make those assumption because you said you created two partions
'after' so according to the blocks they follow.

So here my advice:

1. play with the present configuration and we will help you to do that.

2. after you that reformat the HD with a little different partitions :)
setup and reinstall.

So the first thing is you need to know if you have a /boot and /root or
just /. So what you have in sda6 and sda7?

After you know that try to reinstall grub.

1. load a live linux cd. If you do not have one dsl or puppy linux are
very small and fast or if yo have opensuse live.

2. open a terminal

3. as root


find /boot/grub/stage1

This brings where grub first stage is located. It may not find it
because according to you it should have been in the MBR (aka hd0)

root (hdX,Y)

X is the drive (HD) number you start to count form O to the first drive
is 0
Y is the partition number, you start to count from 0 so sda5 is 4 and so

setup (hdX,Y)

will write those setup

Note: If you use (hd0) it will replace the mbr. Typing "(hd0)",it's fine
if you want to write GRUB to the MBR. If you want to write it to your
linux root partition, then you want the number after the comma, such as
"(hd0,3)", or to /boot '(hd0,0)'

So in your case you have to write it to the MBR if I understand what you
wrote :)


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups