Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/02/2006, 09:57
Avatar de dexcel
dexcel
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
Problemas con el grub y unidades montadas

Problema 1: Perdí el grub
Solución1: Recuperé el grub
Resulta que en un pc que tenía instalado Ubuntu Breezy en una partición, formatearon con XP su propia partición y borraron el grub, tonces con un Live CD de hoary recupere el grub así:
Código:
# mkdir /media/ubuntu
# mount -t ext3 /dev/hda6 /media/ubuntu
# chroot /media/ubuntu
# grub-install /dev/hda
Reinicie y conseguí recuperar el grub :P

Problema 2: Error al montar
Pero al reiniciar me salío error por las particiones que comparte con windows:
Código:
/dev/hda2  /media/hda2  ntfs  rw,noexec,uid=1000,nodev,umask=27 0 0
/dev/hda5  /media/hda5  vfat  rw,noexec,uid=1000,nodev,umask=27 0 0
Pero me tiraba errores al reiniciar:
[fail] en la fat32(vfat)

y en la ntfs:

Código:
# mount /dev/hda2
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       missing codepage or other error
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Código:
# dmesg | tail
[4297034.959000] NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[4297034.959000] NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
[4297054.356000] Inbound IN=eth0 OUT= MAC=00:05:5d:94:a5:09:00:01:5c:22:61:56:08:00 SRC=221.203.145.29 DST=201.239.179.14 LEN=324 TOS=0x00 PREC=0x00 TTL=43 ID=0 DF PROTO=UDP SPT=36729 DPT=1026 LEN=304
[4297184.434000] Inbound IN=eth0 OUT= MAC=00:05:5d:94:a5:09:00:01:5c:22:61:56:08:00 SRC=201.239.250.147 DST=201.239.179.14 LEN=52 TOS=0x00 PREC=0x00 TTL=59 ID=8065 DF PROTO=TCP SPT=2005 DPT=80 WINDOW=60352 RES=0x00 SYN URGP=0
[4297187.490000] Inbound IN=eth0 OUT= MAC=00:05:5d:94:a5:09:00:01:5c:22:61:56:08:00 SRC=201.239.250.147 DST=201.239.179.14 LEN=52 TOS=0x00 PREC=0x00 TTL=59 ID=8470 DF PROTO=TCP SPT=2005 DPT=80 WINDOW=60352 RES=0x00 SYN URGP=0
[4297273.168000] NTFS-fs error (device hda2): read_ntfs_boot_sector(): Primary boot sector is invalid.
[4297273.168000] NTFS-fs error (device hda2): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[4297273.168000] NTFS-fs error (device hda2): ntfs_fill_super(): Not an NTFS volume.
[4297588.635000] Inbound IN=eth0 OUT= MAC=00:05:5d:94:a5:09:00:01:5c:22:61:56:08:00 SRC=210.65.223.224 DST=201.239.179.14 LEN=523 TOS=0x00 PREC=0x00 TTL=48 ID=0 DF PROTO=UDP SPT=31260 DPT=1026 LEN=503
[4298200.675000] Inbound IN=eth0 OUT= MAC=00:05:5d:94:a5:09:00:01:5c:22:61:56:08:00 SRC=126.54.183.244 DST=201.239.179.14 LEN=408 TOS=0x00 PREC=0x00 TTL=50 ID=58392 PROTO=UDP SPT=30601 DPT=1026 LEN=388
Código:
# fdisk -l

Disco /dev/hda: 41.1 GB, 41110142976 bytes
255 cabezas, 63 sectores/pista, 4998 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/hda1   *           1        3105    24940881    7  HPFS/NTFS
/dev/hda2            3106        4998    15205522+   f  W95 Ext'd (LBA)
/dev/hda5            3106        3230     1004031    b  W95 FAT32
/dev/hda6            3231        4954    13847998+  83  Linux
/dev/hda7   *        4955        4998      353398+  82  Linux swap / Solaris
Código:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda6       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda2       /media/hda2     ntfs    rw,noexec,uid=1000,nodev,umask=27 0 0
/dev/hda5       /media/hda5     vfat    rw,noexec,uid=1000,nodev,umask=27 0 0
/dev/hda7       none            swap    sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto
Entonces lo que hice fue montar así porque al parecer al formatear con el xp este cambio la estructura del disco y te dejo la particion extendida como una primaria, entonces lo que hice fue montar la que dice /dev/hda1 en fstab,

Solución2: Pude montar
Código:
mount -t auto /dev/hda1 /media/hda2 
y ya no tengo problemas al reiniciar con Linux, no me tira ningún error, y puedo ver sin problemas los datos de windows, pero al seleccional windows del grub al iniciar me sale:

Problema 3: No puedo entrar a Windows
Me sale esto al seleccionar en el grub iniciar windows

Booting Microsoft Windows XP Professional
root (hd0,1)
Filesystem type unknown
partition type 0xf
Save default
make active
Error 12: Invalid device request....
Press any key to continue


ayudaaaa.
__________________
Macintosh for productivity.
Unix for stability.
Palm for mobility.
Windows for solitaire.

Última edición por dexcel; 16/02/2006 a las 10:35