E estado leyendo sobre como recuperalo, pero no he conseguido nada.
Antes tenia 2 particiones (sda1 y sda6) cada una con un ubuntu. He borrado sda6 desde el instalador de fedora para que me lo instale en esa particion.
El caso es que cuando carga el grub, me detecta el Ubuntu, pero me suelta un error al arrancarlo:
Error 17: Cannot mount selected partition.
E probado montando la particion de ubuntu desde fedora para copiar datos del grub.cfg, pero nada. Os dejo los dos archivos del grub paara ver que hago mal:
grub.cfg de la particion de ubuntu:
Código:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2942ae51-b87d-4efe-8dd7-22b9c74e3d7d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-22-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2942ae51-b87d-4efe-8dd7-22b9c74e3d7d
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=2942ae51-b87d-4efe-8dd7-22b9c74e3d7d ro quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
}
menuentry "Ubuntu, Linux 2.6.31-22-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2942ae51-b87d-4efe-8dd7-22b9c74e3d7d
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=2942ae51-b87d-4efe-8dd7-22b9c74e3d7d ro single
initrd /boot/initrd.img-2.6.31-22-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, Linux 2.6.31-22-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
}
menuentry "Ubuntu, Linux 2.6.31-22-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro single
initrd /boot/initrd.img-2.6.31-22-generic
}
menuentry "Ubuntu, Linux 2.6.31-21-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-21-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro single
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set bf2f1b81-52e0-44dd-85fb-b94ad28df363
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=bf2f1b81-52e0-44dd-85fb-b94ad28df363 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
menu.lst de Fedora 13:
Código:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/sda6
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.33.3-85.fc13.i686)
root (hd0,5)
kernel /boot/vmlinuz-2.6.33.3-85.fc13.i686 ro root=UUID=1a2ffa2a-a603-4bf9-a339-c6c1d345a780 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=es_ES.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=es rhgb quiet
initrd /boot/initramfs-2.6.33.3-85.fc13.i686.img
title Ubuntu PE (2.6.30.31-22-generic)
root=(hd0,1)
kernel /boot/vmlinuz-2.6.31-22-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
chainloader +1
Y os dejo la salida del fdisk:
Código:
[root@Laboratorio hacklab]# fdisk -l
Disco /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf31ff31f
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 1 7309 58709511 83 Linux
/dev/sda2 7310 14593 58508730 5 Extendida
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris
/dev/sda6 7310 13995 53703680 83 Linux
Las entradas de la tabla de particiones no están en el orden del disco
El problema que tengo que voy a estar 3 semanas fuera de mi casa y no tengo ningun disco de Ubuntu, unicamente tengo el de fedora.
Si es necesario me bajare un disco de ubuntu, pero vamos aver si me podeis hechar una manita para poder recuperarlo.
Gracias.
Un saludo