unable to load vista after installin Lucid lynx

Asked by allison steenson

Hi there!
I've been using Ubuntu (double boot with vista) for a long time, but after installing Lucid Lynx, I can't seem to be able to boot Vista OS: the option is right there (two of them: vista and recovery), but don't work. If I try either of them, it just comes back to the page where I can choose which OS I want to boot.
I could cancel the partition, maybe, but I first need some data (namely, the recovery disc for Vista, stored in the other partition).

As I'm not much of a geek, pray explain things carefully (5-years-old style) and bear with me as I try to sort things out.

Thanks a lot, in advance.
:)
-------------------------------------------------------------------------
Initial configuration: Vista + Ubuntu 9.10 Karmic on a Laptop (have also a desktop PC)
Try to upgrade to: Lucid 10.04 Lucid
Grub2 (1.98)
Grub boot menu: Lucid + Vista + Partition recovery
After selec. in boot menu, Vista doesn't succeed to boot., Ubuntu works

/dev/sda1 10240000 12 Diagnostica Compaq Recovery Partition
/dev/sda2 * 71445504 7 HPFS/NTFS Vista
/dev/sda3 71449087+ 5 Esteso Extended Partition
/dev/sda4 3145728 12 Diagnostica Compaq ?????
/dev/sda5 68525226 83 Linux Ubuntu "/"
/dev/sda6 2923798+ 82 Linux swap Swap

Current state: Grub Ubuntu -> "error: no kernel loaded"

1) The partition is found, with its both boot sectors (UUID OK)
2) The linux kernel to boot is not found

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please tell have you installed Ubuntu-10.04.1 (released 18 aug 2010) or Ubuntu 10.04 ...?
Have you deleted the old Ubuntu partitions when you have installed the Ubuntu Lucid 10.04...
Can you made a new 10.04.1 install cd...?
Can you use torrent protocol to download the Ubuntu 10.04.1 cd image...

http://releases.ubuntu.com/10.04.1/ubuntu-10.04.1-desktop-i386.iso.torrent

Revision history for this message
allison steenson (valya83) said :
#2

I'm not with my laptop at the moment, so I can't check, but:

I've installed Ubuntu 10 in may, so it must be the older version.
A friend has done it for me, so I'm not sure (again) if he's deleted my old partitions, but I think not (otherwise, he would have told me, and besides, I can still see the partition where Vista has been installed from Ubuntu).

I think I can make a new install cd for ubuntu, or download it from the internet (no problems at all with ubuntu, it works just fine), can use both synaptic and torrents to download and/or install things...

As for trying to boot VistaOS, I've read that I could reinstall grub, but I'm not sure how to do it, and I'm afraid of causing more problems to my only-still-working OS..

If you need other info, just ask

grazie tante per l'interessamento
(continuo però a scrivere in inglese, che spero capiscano più persone e di conseguenza ho più chance per una risposta).

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

<lang Ita> Se fai anche una domanda in italiano ci capiamo meglio... </lang ita>

Please open a terminal and copy and paste here the result of

sudo fdisk -l

to get your partitions list

Revision history for this message
allison steenson (valya83) said :
#4

okay, I'll do that when I can get my hands on my laptop, so it will be monday...

(scusa se ti faccio perdere tempo, solo non immaginavo che qualcuno avrebbe risposto con tanta celerità, ho ppensato di postare la domanda e aspettare una risposta entro qualche giorno)

Thanx for now, I'll open a question in italian as well.

Revision history for this message
allison steenson (valya83) said :
#5

okay, change of plan:

I'm going to get my laptop, be back in a couple of hours: got time to help me this weekend?
;)

If you can, could you send me an email at: <email address hidden> (fake email address, giusto per scambiarci i contatti, sarò online per le 10 circa)
thanx ALOT

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please send the details i requeste then please be sure to have the Ubuntu live cd install disk...
We can try to boot from that cd and to reinstall grub...

https://help.ubuntu.com/community/Grub2
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

Or by booting from installed Ubuntu we can try to dress your grub2 environment...

Revision history for this message
allison steenson (valya83) said :
#8

On 19 August 2010 18:56, marcobra (Marco Braida) <
<email address hidden>> wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> marcobra (Marco Braida) proposed the following answer:
> Or by booting from installed Ubuntu we can try to dress your grub2
> environment...
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

here I am!
output foe fdisk -l is as follow

allison@Multivac:~$ sudo fdisk -l
[sudo] password for allison:

Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x4b2f9a56

Dispositivo Boot Start End Blocks Id System
/dev/sda1 1 1275 10240000 12 Diagnostica Compaq
/dev/sda2 * 1275 10170 71445504 7 HPFS/NTFS
/dev/sda3 10171 19065 71449087+ 5 Esteso
/dev/sda4 19066 19458 3145728 12 Diagnostica Compaq
/dev/sda5 10171 18701 68525226 83 Linux
/dev/sda6 18702 19065 2923798+ 82 Linux swap / Solaris

I'll now proceed to get a copy of the ubuntu live cd
:)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

the already answered questions https://answers.launchpad.net/ubuntu/+source/grub2 related to grub2

Revision history for this message
delance (olivier-delance) said :
#10

Can you:
1) boot on Ubuntu from hard disk
2) Applications->Accessories->Terminal
3) Type
       sudo grub-install
4) Reboot and check again Vista boot.

If it fails again, we could after restore Vista MBR, check Vista boot, and doing again "sudo grub-install".

Revision history for this message
allison steenson (valya83) said :
#11

On 20 August 2010 12:36, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Can you:
> 1) boot on Ubuntu from hard disk
> 2) Applications->Accessories->Terminal
> 3) Type
> sudo grub-install
> 4) Reboot and check again Vista boot.
>
> If it fails again, we could after restore Vista MBR, check Vista boot,
> and doing again "sudo grub-install".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

tried sudo grub-install,
but need to specify a device

I get it must be my "ubuntu partition" but don't know the name, or how to
specify exactly where...
however:

allison@Multivac:~$ sudo grub-install
[sudo] password for allison:
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help print this message and exit
  -v, --version print the version information and exit
  --modules=MODULES pre-load specified modules MODULES
  --root-directory=DIR install GRUB images under the directory DIR
                          instead of the root directory
  --grub-setup=FILE use FILE as grub-setup
  --grub-mkimage=FILE use FILE as grub-mkimage
  --grub-probe=FILE use FILE as grub-probe
  --no-floppy do not probe any floppy drive
  --recheck probe a device map even if it already exists
  --force install even if problems are detected
  --disk-module=MODULE disk module to use

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and
OpenBSD), and uses grub-setup to install grub into the boot sector.

If the --root-directory option is used, then grub-install will copy
images into the operating system installation rooted at that directory.

Report bugs to <email address hidden>.

in the meantime, made a copy of Ubuntu live cd

Revision history for this message
delance (olivier-delance) said :
#12

Sorry, I didn't copy/paste the right command.
Command should be
    sudo update-grub

Revision history for this message
allison steenson (valya83) said :
#13

On 20 August 2010 19:29, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Sorry, I didn't copy/paste the right command.
> Command should be
> sudo update-grub
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

tried to sudo update-grub....
grup is updated now, but I can't boot into Vista all the same..

any other suggestion?
I can try to reinstall from cd, but don't know exactly how it's done

Revision history for this message
allison steenson (valya83) said :
#14

ps: grub version= grub 1.98

will I have to update to grub2?

Revision history for this message
delance (olivier-delance) said :
#15

You are already in Grub2. I'll provide data about to restore Vista MBR this evening.

Revision history for this message
delance (olivier-delance) said :
#16

To see how to restore the Ubuntu/XP/Vista/7 bootloader, go on this site
     http://ubuntuforums.org/showthread.php?t=1014708
Sometimes it is enough to repair Vista boot.
It is possible you lost Grub menu, and go directly to Vista.
In this case, have a look at
     https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
If you need more help, could you
1) boot with Ubuntu CD, option "Try".
2) Applications->Accessories->Terminal and type
    sudo parted -l
where "-l" is lowercase "-L" and post result.

Revision history for this message
delance (olivier-delance) said :
#17

Is your problem solved ? If not I can try to help, else, please, could you mark question "Solved".

Revision history for this message
allison steenson (valya83) said :
#18

sorry for the delayed response.. it took me a bit of time just to download
everything and read through the different suggestions.
My problem is more unsolved than ever: as I was reding through the
suggestions to recover ubuntu 9.04 boot, somebody else "tried her hand" on
my laptop.
I guess she wanted to give priority to the Vista Os for boot, as the second
partition, /sda2 is now marked with a *.
After that, I tried reinstalling grub, as suggested in the guide, and I get
a grub interface (black, command line-like).
If I try to type boot, it gives me back an
"error: no kernel loaded"

I really don't know what's happened, or how to find out, or even if my data
is still there!!
any ideas? Should I detach the HD and try recovering all data, prior to
definitely format my laptop?
I know it sounds desperate, but..

I can boot into ubuntu with the cd, tried to see fdisk -l (and still got two
partitions there, the first one hopefully containing my Ubuntu OS).

AIUTO!

On 25 August 2010 13:12, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> delance proposed the following answer:
> Is your problem solved ? If not I can try to help, else, please, could
> you mark question "Solved".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=16
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#19

It starts to be a little too complicated.
First thing is to repair Vista boot, and its more important since you lost Ubuntu boot. Go on site:
     http://ubuntuforums.org/showthread.php?t=1014708
When Vista will be repaired, I propose a fresh install of 10.04.1. To download 10.04.1, go to:
     http://www.ubuntu.com/desktop/get-ubuntu/download
But before installing Ubuntu, do you have data to backup ?

Revision history for this message
allison steenson (valya83) said :
#20

Yes, I have, and that's a huge problem.
Can I mount my laptop hd on a functioning desktop? and then I'll try to get
something out..

it's format time.

On 26 August 2010 20:49, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Answered
>
> delance proposed the following answer:
> It starts to be a little too complicated.
> First thing is to repair Vista boot, and its more important since you lost
> Ubuntu boot. Go on site:
> http://ubuntuforums.org/showthread.php?t=1014708
> When Vista will be repaired, I propose a fresh install of 10.04.1. To
> download 10.04.1, go to:
> http://www.ubuntu.com/desktop/get-ubuntu/download
> But before installing Ubuntu, do you have data to backup ?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=18
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#21

"Can I mount my laptop HD on a functioning desktop? and then I'll try to get something out?"
I'm afraid it will be more complex. And there are few information how to work like this in the net.
Best is to work only on laptop.
Firstly, do you have data to backup ? Please answer this question before we do anything.

Revision history for this message
allison steenson (valya83) said :
#22

yes, beside some personal things (photos and the like), I got my work as a
translator all stored there, and I would try to get it back somehow.
any ideas? had a look in the internet, seems the most sensible thing to do
is buy an adaptor to plug to my pc, and try to see my data from there.
any other ideas /suggestions are well accepted..

On 27 August 2010 12:13, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Needs information
>
> delance requested for more information:
> "Can I mount my laptop HD on a functioning desktop? and then I'll try to
> get something out?"
> I'm afraid it will be more complex. And there are few information how to
> work like this in the net.
> Best is to work only on laptop.
> Firstly, do you have data to backup ? Please answer this question before we
> do anything.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#23

Sorry to answer late. I was busy this week-end.
1) "buy an adaptor to plug to my PC"
Be careful. Laptop's hard disk are not of same physical format than desktop hard disk. If you think to a box hosting an external disk, you could have surprise. You will be only able to use both SATA and power connectors (check you have a SATA disk and not an old PATA).
You could need an "Y" to connect to your desktop power cable, and a SATA cable to connect to motherboard.
When you plug and unplug, disconnect power cable from computer. A "halted" computer is still under electrical power, and could be dangerous for hardware...and for yourself.
2) second solution is to try to repair current configuration
After improving my knowledge of boot process, I presume the Linux kernel version in /boot/grub/grub.cfg matches any of the kernel you have in /boot directory.
To check this hypothesis, I need:
    the lines in /boot/grub/grub.cfg which describes first line of boot (should be start of section #20)
    the list of kernels in /boot
You can get these data on booting on Ubuntu CD with a live session (option "Try but don't install") and mounting hard drive.

Revision history for this message
Jordan (jordanu) said :
#24

Your original problem seems to have been that you accidentally installed grub to your windows partitions, which is relatively easy to fix by following this guide: http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector .

I'm not exactly sure what your current situation is, but I'm confident that it can be fixed without reformatting (no matter what you've done to the bootloader, the rest of your system should be completely intact). IMHO the easiest and safest way to get booted into your Ubuntu install again, from which it is easier to fix things, is to boot using a Super GRUB2 Disk CD http://download.berlios.de/supergrub/super_grub_disk_hybrid-1.98s1.iso . The reason I suggest this is that it's entirely automated, and since Super GRUB2 Disk never writes to the disk has almost no chance of making things worse.

But booting from SG2D Disk is only a temporary solution, and with or without SG2D I think that troubleshooting this problem is best done through real time chat. Could you join the #grub channel on irc.freenode.net and ask your question? If you're not familiar with IRC you can just click this link to join the channel directly from your web browser: http://webchat.freenode.net/?channels=grub&uio=d4 . My nickname there is "Jordan_U". Once you've joined just go ahead and ask your question. Include my nickname in a comment to get my attention.

Revision history for this message
allison steenson (valya83) said :
#25

to delance:

Opened Ubuntu in live session, mounted hard drive and typed
/boot/grub/grub.cfg... but there is no such file. The only content of the
grub folder is a file called grubenv, which I don't know nothing about.
Plus, I don't see any file that could be a list of kernels in /boot.

Plus, launched gparted from live session, results are I have two main
partititions:
 /dev/sda1 (PQSERVICE) and
/dev sda2 (ACER) which seems to contain my windows OS
AND
an unallocated partition (circa 70 GB).

I'll try to attach and post some screenshot.

By the way, tried to:
u@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4b2f9a56

   Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10240000 c W95 FAT32 (LBA)
/dev/sda2 * 1275 10170 71445504 7 HPFS/NTFS

Disk /dev/sdb: 2048 MB, 2048901120 bytes
64 heads, 63 sectors/track, 992 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfe40e419

   Device Boot Start End Blocks Id System
/dev/sdb1 1 992 1999749+ 6 FAT16
ubuntu@ubuntu:~$

results for blkid

ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="PQSERVICE" UUID="A20A-9608" TYPE="vfat"
/dev/sda2: LABEL="ACER" UUID="A22AA8492AA81BF3" TYPE="ntfs"
/dev/sdb1: SEC_TYPE="msdos" UUID="EACF-A373" TYPE="vfat"
ubuntu@ubuntu:~$

Starting to fear for the worst..

On 30 August 2010 12:29, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Sorry to answer late. I was busy this week-end.
> 1) "buy an adaptor to plug to my PC"
> Be careful. Laptop's hard disk are not of same physical format than desktop
> hard disk. If you think to a box hosting an external disk, you could have
> surprise. You will be only able to use both SATA and power connectors (check
> you have a SATA disk and not an old PATA).
> You could need an "Y" to connect to your desktop power cable, and a SATA
> cable to connect to motherboard.
> When you plug and unplug, disconnect power cable from computer. A "halted"
> computer is still under electrical power, and could be dangerous for
> hardware...and for yourself.
> 2) second solution is to try to repair current configuration
> After improving my knowledge of boot process, I presume the Linux kernel
> version in /boot/grub/grub.cfg matches any of the kernel you have in /boot
> directory.
> To check this hypothesis, I need:
> the lines in /boot/grub/grub.cfg which describes first line of boot
> (should be start of section #20)
> the list of kernels in /boot
> You can get these data on booting on Ubuntu CD with a live session (option
> "Try but don't install") and mounting hard drive.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#26

You had:

Disco /dev/sda: 160.0 GB, 160041885696 byte
/dev/sda1 10240000 12 Diagnostica Compaq
/dev/sda2 * 71445504 7 HPFS/NTFS
/dev/sda3 71449087+ 5 Esteso
/dev/sda4 3145728 12 Diagnostica Compaq
/dev/sda5 68525226 83 Linux
/dev/sda6 2923798+ 82 Linux swap / Solaris

and now you have:

Disk /dev/sda: 160.0 GB, 160041885696 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 10240000 c W95 FAT32 (LBA)
/dev/sda2 * 71445504 7 HPFS/NTFS

Your extended partition which contained Ubuntu has disappeared. What happened ?
N.B.: the grub.cfg file was in this partition.

I will be back in one hour, after lunch.

Revision history for this message
Jordan (jordanu) said :
#27

I take back my recommendation of Super GRUB2 Disk, at least until you can restore your Ubuntu partition it won't be useful. Like delance, I'm curious what exactly happened to your Ubuntu partition. Could you try to detail as much of what you've done as possible?

@delance, When asking for information it's helpful if you use the "Add Information Request" button so that the status of the question isn't incorrectly changed to "Answered".

Revision history for this message
allison steenson (valya83) said :
#28

I don't exactly now what's happened, as I was not present when this was
done.
I can infer some misguided do-gooder booted into windows, and from what I
can see I gather has tried to recover my old partitions, as they where when
I have bought my laptop.

Problem now is:
is there any possibility I could get back my Ubuntu data?
As I can't see them anywhere, I get they're hopelessly lost.

Could I try something else to get them back?

On 1 September 2010 19:59, Jordan <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Jordan requested for more information:
> I take back my recommendation of Super GRUB2 Disk, at least until you
> can restore your Ubuntu partition it won't be useful. Like delance, I'm
> curious what exactly happened to your Ubuntu partition. Could you try to
> detail as much of what you've done as possible?
>
> @delance, When asking for information it's helpful if you use the "Add
> Information Request" button so that the status of the question isn't
> incorrectly changed to "Answered".
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#29

Yes, there is a small chance.

1) First solution

Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x4b2f9a56

Dispositivo Boot Start End Blocks Id System
/dev/sda1 1 1275 10240000 12 Diagnostica Compaq
/dev/sda2 * 1275 10170 71445504 7 HPFS/NTFS
/dev/sda3 10171 19065 71449087+ 5 Esteso
/dev/sda4 19066 19458 3145728 12 Diagnostica Compaq
/dev/sda5 10171 18701 68525226 83 Linux
/dev/sda6 18702 19065 2923798+ 82 Linux swap / Solaris

Boot on Ubuntu CD, and choose "try but don't install". Administration->System->Gparted.
Create an extended partition in remaining free space.
Force creation of partition of cylinder frontier.
Create a ext4 partition but DON'T FORMAT this partition.
Mount this partition. If you are lucky, you will get back the previous partition.

Explanation: probably, only the partition table was updated and nothing was done on extended partition, but removing the line in MBR which tell where start and stop partition.

2) Use a partition recovery tools
There are some tools able to recover a partition, by scanning free space and recognizing the signature of a start of a partition.
If you "google", you will first find lot of commercial tools, and after you will find free tool.
If you need some help, best is to open a new question on Launchpad "How recover unmodified partition removed from partition table".

Revision history for this message
allison steenson (valya83) said :
#30

opened new question on how to back up my data.
if you like, you can see the reslts of my attempts there:

https://answers.launchpad.net/ubuntu/+source/grub2/+question/123932

ps:didn't try with gparted, as I was not sure how to proceed.
pps: how do I mark the question as "unsolved, but closed anyway"

On 2 September 2010 13:13, delance <email address hidden>wrote:

> Your question #121856 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Yes, there is a small chance.
>
> 1) First solution
>
> Disco /dev/sda: 160.0 GB, 160041885696 byte
> 255 testine, 63 settori/tracce, 19457 cilindri
> Unità = cilindri di 16065 * 512 = 8225280 byte
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Identificativo disco: 0x4b2f9a56
>
> Dispositivo Boot Start End Blocks Id System
> /dev/sda1 1 1275 10240000 12 Diagnostica Compaq
> /dev/sda2 * 1275 10170 71445504 7 HPFS/NTFS
> /dev/sda3 10171 19065 71449087+ 5 Esteso
> /dev/sda4 19066 19458 3145728 12 Diagnostica Compaq
> /dev/sda5 10171 18701 68525226 83 Linux
> /dev/sda6 18702 19065 2923798+ 82 Linux swap / Solaris
>
> Boot on Ubuntu CD, and choose "try but don't install".
> Administration->System->Gparted.
> Create an extended partition in remaining free space.
> Force creation of partition of cylinder frontier.
> Create a ext4 partition but DON'T FORMAT this partition.
> Mount this partition. If you are lucky, you will get back the previous
> partition.
>
> Explanation: probably, only the partition table was updated and nothing
> was done on extended partition, but removing the line in MBR which tell
> where start and stop partition.
>
> 2) Use a partition recovery tools
> There are some tools able to recover a partition, by scanning free space
> and recognizing the signature of a start of a partition.
> If you "google", you will first find lot of commercial tools, and after you
> will find free tool.
> If you need some help, best is to open a new question on Launchpad "How
> recover unmodified partition removed from partition table".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856/+confirm?answer_id=28
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/121856
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
delance (olivier-delance) said :
#31

There is no "Unsolved". After some time the Launchpad Janitor will remove question.

Can you help with this problem?

Provide an answer of your own, or ask allison steenson for more information if necessary.

To post a message you must log in.