Boot problems

To add to caf4926’s comments.

The reason C: ,D: etc from windows means nothing, and by itself is useless,(at least in part) is as follows.

In windows Your first partition on your first hard disk will be C: If you have 2 more partitions on that disk they are likely to be D: and E: (no guarantees there)

If you have a second disk, also with three partitions on it the first partition becomes D:

I will let you consider the complications involved in sorting out which win partition is where.

The next point, later versions of windows allow you to choose your own lettering for partitions( for example change D: to E: )

By this stage you may understand why sda1 means a lot more than C:

Feel free to make corrections about my above post, It’s been a while since I have used Windows, but this is my understanding.

Hi,

you are nearly right. If the first partition on the second hd is a primary partition it will become D: if it is there before installing windows or if you have an old windows version. Modern windows versions (2000 and higher) don’t mess up the partition letters after add another hd. Well, even though it doesn’t mean anything. C: can even be the first partition on the second disk if on the first disk resides e. g. Linux.

It’s just the same. Grub config files should be on a Linux partition. :wink:

bye

Erik

I typed in whoami and got “linux” Not sure what that means, but I’m assuming it’s not root, but I can get into YaST etc.

Anyway, my partitions are:

/dev/sda 232.89GB TOSHIBA-MK2552GS
/dev/sda1 1.46GB unknown NTFS TOSHIBA SYSTEM VOLUME
/dev/sda2 224.86GB HPFSNTFS NTFS
/dev/sda3 6.56GB HiddenHPFSNTFS NFTS HDDRECOVERY
/dev/sdb 232.89GB TOSHIBA-MK2442GS
/dev/sdb1 97.56GB HPFSNTFS NTFS
/dev/sdb2 135.32GB Extended
/dev/sdb5 2.01GB Linux swap swap
/dev/sdb6 20.00GB Linux native Ext4
/dev/sdb7 113.31GB Linux native Ext4

Somehow that comes to about 500GB. It does confuse me a bit actually. However, I think that Vista is on the sda’s, sdb1 is the partition I made bigger after deleting another empty one - this change caused my problems. From sdb5, sdb6 and sdb7 (not sure what’s with sdb2) they are openSUSE.

I was thinking could a solution be to go into the partitioner and delete the linux ones and then the computer will just boot up windows as normal?

This is strange, I’m not sure I full understand it all. Is that output exactly as fdisk -l gave?
I would like some others to give comments and perhaps your clarification - Do you have 1 or 2 HD’s?

@caf4926

It looks like sda and sdb. sdc appearers to be a fat32 formated external, fdisk -l output is at post #16.

that output for the partitions I got from the partition manager.

I think I’ve only got 1 HD. When I got the computer it said it had a 500GB HD. In Windows Vista as default it displayed C: 224GB and D: 224GB. I assume this is one HD.

sdc looks like a USB stick to me.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try booting with the openSUSE DVD, go as if you want to install it
and in some point, I don’t remember exactly, I think where prompts you
to select new install or update, if you abort you have the option to
boot an installed system, this option boot the system even if grub is
dead, so boot and once in your system go to YaST and boot loader, use it
to read the partition table and propose a new grub config


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwgo68ACgkQJQ+0ABWtaVm7mgCfT9m+v4jk5r4oOPQXZsr46nhU
Dk8An0JtyvVTQOWz0lUC4AQYC8lo/H3r
=fQ6g
-----END PGP SIGNATURE-----

Hi,

For sure you have two hd. Each one with 250 Gig. That told us the fdisk command. What about the cat command I gave you?

Bye

Erik

So is it still like this. Because it tells us you have 2 HDs

You posted this but it looks edited and shows no boot flag.

Anyway, my partitions are:

/dev/sda   232.89GB   TOSHIBA-MK2552GS
/dev/sda1   1.46GB   unknown   NTFS   TOSHIBA SYSTEM VOLUME
/dev/sda2   224.86GB   HPFSNTFS   NTFS   
/dev/sda3   6.56GB   HiddenHPFSNTFS NFTS   HDDRECOVERY
/dev/sdb   232.89GB   TOSHIBA-MK2442GS
/dev/sdb1   97.56GB   HPFSNTFS   NTFS
/dev/sdb2   135.32GB   Extended
/dev/sdb5   2.01GB   Linux swap   swap
/dev/sdb6   20.00GB   Linux native   Ext4
/dev/sdb7   113.31GB   Linux native Ext4

Windows really is a pain. Let’s see again the fdisk -l proper and tell us what happens again when you try and boot, windows, and suse.

I’ll sort out cat when I can get this fdisk -1 issue sorted out first.

fdisk -l:


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

when I come back online I’ll post the su-fdisk thing but I’ve got to go for now.


Ok, so when I boot, I get the Toshiba logo, and then after that when I only had windows, the windows startup screen would start. Now with Linux, I would have a grup interface with the option of booting either windows or opensuse. Well when I worked with the partitions a few days ago, when I next started up the computer this grub OS-choosing interface would not load - error 15. So I have been forced to now run opensuse off a live cd.
That’s the situation. I would like to remove opensuse and keep windows vista, hopefully will all my vista data and documents intact. The reason I was coming on here was to see how this could be done.

In my post just above, when I type in fdisk-l I get the ‘absolute path’ line. What I did to get the partition thing that you quoted was to go to YaST > Partition manager and copy what I saw. If you need an actual terminal line for this just tell me what to type in and I’ll give you what it spits out.

So sorry for all the trouble guys. I’m probably not communicating myself very well here.

try
sudo fdisk -l

and it IS a lower case L not a one

From this, if it’s still the same:

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

Can you tell us what was installed at sda2?
It looks like a install of windows…

And then what is at sdb1?

As I see it, you can use Parted Magic to delete sdb7, sdb6, sdb5, sdb2, and then resize sdb1 to use all the space from deleting 7,6,5,2.

Then use your win7 DVD (or if you don’t have one: Download Windows 7 System Recovery Discs — The NeoSmart Files )

To repair the windows boot code.

Have you also tried the advice from caf4926 at post #7

Re-Install Grub Quickly with Parted Magic - openSUSE Forums

Yes, I know it’s lowercase L. I’ve been using that ever since the bottom of page 1 I think.


I haven’t got round to doing anything more on this since I last posted, as I am really busy. Hopefully in the next few days I’ll get round to doing something.

btw I have vista, not win7.

From the original post, this is what I have a question about,

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.

Where were D and E? At least, were they on sda or sdb? What further changes did you make in the partitioner while there, if any?

sda1 = C
sdb2 = F (D was deleted so I could extend F. E is disk drive)

I can’t see what partitions could have been easily “merged” unless you originally also had an sda4.