ho pulito da windows la partizione su cui avevo installato ubuntu.
Ora all'avvio del pc mi appare il seguente errore
Codice: Seleziona tutto
error: no such partition.
grub rescue>
Sto per toccare la disperazione!!!! ::)

Codice: Seleziona tutto
error: no such partition.
grub rescue>


Mi puoi aiutare per favore?steff ha scritto: Ma come hai allora installato ubuntu??
Per il programma bastava reinstallarlo e ricopiare la cartella della configurazione che si trova nella home, tornava identico...











Codice: Seleziona tutto
sudo ms-sys -w /dev/sdaCodice: Seleziona tutto
sudo fdisk -l
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0xaa894450
Device Boot Start End Blocks Id System
/dev/sda1 1 1567 12586896 27 Unknown
/dev/sda2 * 1568 1580 104422+ 7 HPFS/NTFS
/dev/sda3 1581 17653 129106210 7 HPFS/NTFS
/dev/sda4 17654 30402 102398977 f W95 Ext'd (LBA)
/dev/sda5 21478 30402 71677952 7 HPFS/NTFS
Disk /dev/sdb: 8231 MB, 8231805440 bytes
254 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15748 * 512 = 8062976 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0bcd68e
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 204685 220349 123339962 78 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(518, 102, 15) logical=(204684, 50, 50)
Partition 1 has different physical/logical endings:
phys=(743, 0, 62) logical=(220348, 103, 15)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 27488 76744 387841909+ 10 OPUS
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(205, 7, 0) logical=(27487, 94, 14)
Partition 2 has different physical/logical endings:
phys=(920, 235, 50) logical=(76743, 99, 34)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 118718 240589 959615034 8b Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(260, 125, 54) logical=(118717, 116, 56)
Partition 3 has different physical/logical endings:
phys=(893, 46, 60) logical=(240588, 206, 35)
Partition 3 does not end on cylinder boundary.
/dev/sdb4 ? 3796 4324 4161656+ a OS/2 Boot Manager
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(269, 111, 50) logical=(3795, 83, 27)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(4323, 218, 25)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo ms-sys -w /dev/sda3
Unable to automaticly select boot record for /dev/sda3
/dev/sda3 has an x86 boot sector,
it is an unknown boot record
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo fdisk /mbr
Unable to open /mbr

Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo ms-sys -mbr /dev/sda3
Usage:
ms-sys [options] [device]
Options:
-1, --fat12 Write a FAT12 floppy boot record to device
-2, --fat32nt Write a FAT32 partition NT boot record to device
-3, --fat32 Write a FAT32 partition DOS boot record to device
-6, --fat16 Write a FAT16 partition DOS boot record to device
-l, --wipelabel Reset partition disk label in boot record
-p, --partition Write partition info (hidden sectors and drive id)
to boot record
-m, --mbr Write a Windows 2000/XP/2003 MBR to device
-9, --mbr95b Write a Windows 95B/98/98SE/ME MBR to device
-d, --mbrdos Write a DOS/Windows NT MBR to device
-s, --mbrsyslinux Write a public domain syslinux MBR to device
-z, --mbrzero Write an empty (zeroed) MBR to device
-f, --force Force writing of boot record
-h, --help Display this help and exit
-v, --version Show program version
-w, --write Write automatically selected boot record to device
Default Inspect current boot record
Warning: Writing the wrong kind of boot record to a device might
destroy partition information or file system!
ubuntu@ubuntu:~$ sudo ms-sys -m /dev/sda3
/dev/sda3 seems to be a disk partition device,
use the switch -f to force writing of a master boot record

Codice: Seleziona tutto
sudo ms-sys -w /dev/sdaAl limite dovresti provare con sda2, che mi sembra sia la tua partizione di boot, dando:ubuntu@ubuntu:~$ sudo ms-sys -w /dev/sda3
Unable to automaticly select boot record for /dev/sda3
/dev/sda3 has an x86 boot sector,
it is an unknown boot record
Codice: Seleziona tutto
sudo ms-sys -m /dev/sda2
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo ms-sys -w /dev/sda
DOS/Windows NT master boot record successfully written to /dev/sda


Visualizzano questa sezione: Google [Bot] e 6 ospiti