Boot problems

Ok, so I installed openSUSE recently alongside Windows Vista. Vista is on a C partition. D and E are partition I created on windows before installing openSUSE. D and E are both empty. This morning I decided to merge D and E into one. I didn’t realise this would affect anything, as I’ve done this before with no problems. But now when I start up the computer it won’t even getto the grub screen where I can choose to boot either Windows or openSUSE. Instead, I get this:


GRUB Loading stage1.5

GRUB Loading, please wait...
Error 15

Can anyonle please help me so I can at least choose to boot Windows so I can fix this? I don’t mind if I have to reinstall Linux, but I need windows. Any help here is appreciated. Please note I’m a noob at this, so you might have to explain a lot.

Do you have a Vista DVD?

No. The only disc that came with my notebook (which was bought new April last year) was a XP “product recovery media”. Vista was already installed.

But if it comes down to re-installing an OS, I would want it to be openSUSE, not Windows.

BTW, if I re-installed windows, which is on C drive, would I lose all my personal files that are on C drive?

You should be able to copy all the files from windows with your Linux Install, either to your linux partition or a backup external drive

Hi,

Since error 15 means “file not found” I think the reason is that you have one partition less after merging the D: and E: partition. So grub doesn’t find the files any more. Could you please boot the system with a Linux (!) live CD? Please type on a console after doing so:


fdisk -l

Also mount the partition where /boot is and go to /mountpoint/boot/grub and type


cat menu.lst

You need to be root to do so.

bye

Erik

Ok. Thanks, I’ll try that. Luckily I still have the live CD.

You could post a fdisk -l for us

and or try this
Re-Install Grub Quickly with Parted Magic - openSUSE Forums

I have sucessfuly run the live CD. I went to the terminal and typed in fdisk -1 and got the following:


Absolute path to 'fdisk' is '/sbin/fdisk', so running it may require superuser privileges (eg /root)

What does this mean and how do I go from here? I’m not sure how to do what you mentioned in the rest of your post. I am a n00b at Linux so could you please walk me through step-by-step? Thanks.

User “root” is the name for the administrator and of course the administrator has superuser permissions.

The regular user on the liveCD is user “linux” and the password for the regular user is . The password for the root/administrator on the liveCD is also

Try this:

su -c 'fdisk -l'

and press <enter> if prompted for a password. That line means run the command ‘fdisk -l’ with administrator (root) permissions.

I have sucessfuly run the live CD. I went to the terminal and typed in fdisk -1 and got the following:

Note also, fdisk -l is a lower case letter L, not number 1

This is what I get:


fdisk: invalid option -- '1'

Usage: fdisk -b SSZ] -u] DISK         Change partition table
          fdisk -1 -b SSZ] -u] DISK           List partition table(s)
          fdisk -s PARTITION          Give partition size(s) in blocks
          fdisk -v                Give fdisk version
Here DISK is something like /dev/hdb or dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
linux@linux:-> su -c 'fdisk -1'

btw i’m typing this in the ‘terminal’.

Ahh…thanks!

Ok, so I typed in what I did in my post just above, and got heaps of information on the disk, but I don’t think I was prompted to do anything.

The whole point of fdisk -l
Is to post the result for us to see, so we can what your partitions are

Your situation would be easy enough for us to solve if we had you computer in our sweaty little mitts - But we don’t - So we have to explain this and that, and correct you here and there, and spell it out ABC…

fdisk -l

will produce something that looks like this:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x93900d8b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        9017    68163763+   7  HPFS/NTFS
/dev/sda2   *        9017       20674    88124527    5  Extended
/dev/sda5            9017        9437     3172806   82  Linux swap / Solaris
/dev/sda6            9437       12212    20980858+  83  Linux
/dev/sda7           12212       17065    36692428+  83  Linux
/dev/sda8           17065       20674    27278338+  83  Linux

yes, it produced something like that. hang on, I’ll post it in a sec…

Ok, the result:


linux@linux:~> su -c 'fdisk -l'

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         192     1536000   27  Unknown
/dev/sda2   *         192       29546   235786240    7  HPFS/NTFS
/dev/sda3           29546       30402     6875136   17  Hidden HPFS/NTFS

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x32fe1372

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       12736   102301888+   7  HPFS/NTFS
/dev/sdb2           12737       30401   141894081+   f  W95 Ext'd (LBA)
/dev/sdb5           12737       12998     2104483+  82  Linux swap / Solaris
/dev/sdb6           12999       15609    20972826   83  Linux
/dev/sdb7           15610       30401   118816708+  83  Linux

Disk /dev/sdc: 17.0 GB, 17012097024 bytes
7 heads, 37 sectors/track, 128288 cylinders
Units = cylinders of 259 * 512 = 132608 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              32      121141    15683584    c  W95 FAT32 (LBA)

Hi,

so tell us if this is correct:

You have three hds. The third one is an old small one which isn’t of interest at the moment. It’s just there. :wink:

The first one contains the system partition of windows (c: ).

The second hd contains the windows partition d: which was d: and e: before. The partition /dev/sdb6 or /dev/sdb7 must be the root partition of Linux. So do the following please. Type after booting the live CD:


su<Enter>
<Enter at password prompt>
mount /dev/sdb6 /mnt<enter>
cd /mnt/boot/grub<enter>
cat menu.lst<enter>

If you get after the cd command “File or directory not found” type


umount /dev/sdb6
mount /dev/sdb7 /mnt

and go on with the cd and the cat command. Post the result here.

bye

Erik

Ok, just to confirm my setup:

BEFORE OPENSUSE:
C: Windows Vista
D: empty
E: empty

AFTER OPENSUSE
C: Windows Vista
D: empty
F: empty
plus other ‘hidden’ partitions that house openSUSE

Today I deleted F: and increased D:'s size to what F was.

I ran “su” and I got:


linux:/home/linux #

I don’t think that’s a password prompt

Hi,

so you are not promted for the password. Just to make sure that you are really root type:


whoami

If the answer is “root” go ahead with the commands (mount, cd, cat) I gave you.

Bye

Erik

There is insufficient clarity here for me. I want you to explain the disks as sda and sdb
Not C D etc. which makes no sense whatsoever…

Explain the partitioning as
sda1 =
sda2=
and so on as best you can…