Hi,
i installed today opensuse 11.4 and during the installation i recevied error 1007 when preparing the disk. the partitions then couldn’t be read, i had windows 7 installed on it.
i tried to fix mbr but no luck. from the rescue i can see the partition by this command
fdisk -l
how can get to restore my laptop to original,?
So, you could open a terminal session in openSUSE and run the command:
su -
password:
fdisk -l
And post the output of this command. I do not know the name of the Window’s partition, but suppose it was on the first hard disk and the first partition, then you could use this command to fix it:
sudo /usr/bin/ntfsfix /dev/sda1
The fdisk command might help clarify this situation.
as far as i get the erorr it aborted at the (OK) button
Help me a bit more, try to answer the question with a bit more detail, there are many places to go OK.
Or to rejuvenate windows you could use the win 7 install dvd and run through to the end and repair the installation
Ok, when i received the error popup window i hit ok and then the abort button.(was i suppose to do that or continue).
I tried to repair windows 7 using the Installation DVD, it couldnot repair because it couldnot find any windows partition. the list to recovery the os was empty.
then i tried using opensuse 11.4 rescue dvd to list the partition and i can see 4 partition
fdisk -l
/dev/sda1 W95 Ext’d (LBA)
/dev/sda2 NTFS/HPFS/exFAT
/dev/sda3 NTFS/HPFS/exFAT
/dev/sda4 W95 Ext’d (LBA)
partition table entries are not in disk order.
before there was 4 partition, C, Recovery, SYSTEM and one more i dont remember.
the C partition was like 500GB and i resized that to 120 Gb and it was fine
With Windows 7 on 60GB and free space on the remaining 60GB I get my partitions all in order and start the install, it then fails to create the partitions and then of course fails to format them.
My Windows install remains intact and still boots fine.
This looks like a pretty grave situation. The partitioning looks to be completely screwed. I can’t even guess how that was created. At this point I would rescue/backup my data files from windows C drive (probably sda3).
Then I would take one of two possible courses:
delete all partitions and reinstall windows, then put the windows data back, then reinstall openSUSE
OR alternatively
delete sda4 and manipulate the other partitions back to having just sda1 and sda2 on the drive so windows can boot again. Then reinstall openSUSE again (carefully).
rlaxton, you are lucky, i can not boot into win 7 anymore,
swerdna, i backup all my files successfully using the rescue cd. now for your second point, what is sda4 in this case.
thanks
> then i tried using opensuse 11.4 rescue dvd to list the partition and i
> can see 4 partition
> fdisk -l
> /dev/sda1 W95 Ext’d (LBA)
> /dev/sda2 NTFS/HPFS/exFAT
> /dev/sda3 NTFS/HPFS/exFAT
> /dev/sda4 W95 Ext’d (LBA)
> partition table entries are not in disk order.
It looks alright to me.
Maybe what you need is marking the proper partition as bootable.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
When you see this expression in the results from fstab: “W95 Ext’d (LBA)”, it denotes an extended partition (container) that wraps around a series of logical partitions. I’ve only ever seen one of them on a hard drive, whereas you have two, which leads me to think the partitioning is screwed.
However, robin_listas may have a good point. So let’s find where your boot flag is located. Windows boots by seeking out the partition that contains the boot flag, in your case it’s likely the small NTFS partition, perhals sda2. You can see the boot flag when you run fdisk. For example here’s my fdisk:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 156299263 78046208 7 HPFS/NTFS/exFAT
/dev/sda3 156299264 976773119 410236928 f W95 Ext'd (LBA)
/dev/sda5 156301312 160505855 2102272 82 Linux swap / Solaris
/dev/sda6 160507904 223416319 31454208 83 Linux
/dev/sda7 223418368 642840575 209711104 83 Linux
See my sda1 and sda2, they’re the two windows 7 partitions, a small one and a large one, just like your two NTFS partitions. The asterisk in the “Boot” column marks the boot flag.
Which partition has the boot flag in your results from fdisk?
i run testdisk on the drive and here is the output: https://picasaweb.google.com/lh/photo/yw92eDfxl8Lw_p22rZq0GuJE0zPP3bnn2rXgvI0Ze4Y?feat=directlink
i had resized the C: to 125 GB, however the rest of the space of the disk is no longer available.
total disk used from the above analysis is about 148 Gb out of 640, i dont know where is the rest.
at this point all the partition look like deleted, what should i do now?
i was able to boot back to win7 by making the RECOVERY partition as active and rebooted the system. now how can i plan to have opensuse 11.4 installed along with win7 without getting the disk screwed up?
On 2011-03-15 06:06, swerdna wrote:
> When you see this expression in the results from fstab: “W95 Ext’d
> (LBA)”, it denotes an extended partition (container) that wraps around
> a series of logical partitions. I’ve only ever seen one of them on a
> hard drive, whereas you have two, which leads me to think the
> partitioning is screwed.
Wow, you are right. I did not notice!
It maybe that the partitioner started changing things, and the system
crashed. Wow
J-H, we need the output from “fdisk -l” before recommending anything.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
+1 to robin_listas suggestion, just to be sure the windows partitions are the only ones left on the disk.
You will get that from booting off a live CD like parted magic. If your connection is an ethernet cable, you should be able to open Firefox, then direct it to the Forum, and run “fdisk -l” and paste the results directly to a forum post, all form the live CD (if your broadband is normal DSL or cable).
If you insist on leaving partition 1, 2 and 4 as is, then the best you could do with this setup is to delete Partition 3 and create and Extended Primary Partition 3. Then, inside of the Extended, create your Linux swap (P5, 4-8 GB), “/” (P6, 40-60 GB) and /home (P7, rest of partition) partitions. It is possible to load the grub boot loader in the Extended Partition 3, but the Window’s partitioner does not like it, but the alternative is to load Grub into the MBR in order to “boot” a logical openSUSE “/” partition, which is harder to undo if you need to load a Windows Service Pack. So, I would load grub into Extended P3 and not the MBR. You would need to do a full custom partitioning to achieve this setup, if you are up to it.
Do i really have to delete partition 3, can i just resize it and make 2 linux partition from it and leave the current C on it? is that possible?
You can only have four primary partitions. To have more than four partitions, one of them must be an extended partition, containing one or more logical partitions (as I recommended), otherwise four is the max. So, Yes, you must delete that Partition 3 to do anything else.