You are not logged in.
Pages: 1
[jack@nube ~]$ sudo fdisk -l
Disco /dev/hda: 80.0 GB, 80060424192 bytes
255 cabezas, 63 sectores/pista, 9733 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/hda1 * 1 6057 48652821 7 HPFS/NTFS
/dev/hda2 6058 9733 29527470 f W95 Ext'd (LBA)
/dev/hda5 6058 9694 29214171 b W95 FAT32
omitting empty partition (5)
Disco /dev/hdb: 80.0 GB, 80026361856 bytes
255 cabezas, 63 sectores/pista, 9729 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/hdb1 1 9729 78148161 f W95 Ext'd (LBA)
/dev/hdb5 2 7181 57673318+ 7 HPFS/NTFS
/dev/hdb6 7182 7217 289138+ 83 Linux
/dev/hdb7 * 7218 9729 20177608+ 83 Linux[jack@nube ~]$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
grub> root (hd1,7)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+15 p (hd1,7)/boot/grub/stage2 /boot/grub/menu.lst"... failed
Error 22: No such partition
grub>How can i configure grub (menu.lst)
Offline
Arrrgghhh!!. :x :x
[jack@nube ~]$ sudo mount /dev/hdb7 /mnt
[jack@nube ~]$ sudo mount -o bind /dev /mnt/dev
[jack@nube ~]$ sudo mount -t proc none /mnt/proc
[jack@nube ~]$ sudo mount -t sysfs none /mnt/sys
[jack@nube ~]$ sudo chroot /mnt /bin/bash
[root@nube /]# install-grub /dev/hda /dev/hdb7
Install Device: (hd0) /dev/hda
Boot Device: (hd1,6) /dev/hdb7
Continue? [Y/n] Y
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,6)
Filesystem type unknown, partition type 0x83
grub> setup (hd0)
Error 17: Cannot mount selected partition
grub> quit
Grub installation failed.My menu.lst
# (0) Arch Linux
title Arch Linux
root (hd1,6)
kernel /boot/vmlinuz26 root=/dev/hdb7 ro
initrd /boot/initrd26.img
# (1) Windows
title Windows XP SP2
rootnoverify (hd0,0)
makeactive
chainloader +1
LILO works!! But i prefer grub.....
Offline
Have you tried "grub-install"?
But try checking your /boot/grub/device.map and make sure your harddrives in there.
[img]http://www.barbarawood.com/guestbook/images/smilies/koolaid.gif[/img]
"Ooooh Yaaaa!"
Offline
[root@nube /]# cat /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb[root@nube /]# install-grub /dev/hda /dev/hdb7
Install Device: (hd0) /dev/hda
Boot Device: (hd1,6) /dev/hdb7
Continue? [Y/n] Y
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,6)
Filesystem type unknown, partition type 0x83
grub> setup (hd0)
Error 17: Cannot mount selected partition
grub> quit
Grub installation failed.:?: :?: :?: :?:
Offline
It happened to me so I used lilo and booted happily ever after.
Dont look for names like Grub or Lilo. Use the one that does the Job!
Be yourself, because you are all that you can be
Offline
As previously mentioned, try 'grub-install'.
/path/to/Truth
Offline
Nothing works!.
And crash the entire hda1...i think will lost the very important data end windows xp. :cry:
Now appear like "unknown partition".
Offline
install lilo for the last time
The XP section is
other=/dev/hda1
optional
label=WindowsXP Be yourself, because you are all that you can be
Offline
/dev/hdb1 1 9729 78148161 f W95 Ext'd (LBA)
/dev/hdb5 2 7181 57673318+ 7 HPFS/NTFS
/dev/hdb6 7182 7217 289138+ 83 Linux
/dev/hdb7 * 7218 9729 20177608+ 83 LinuxThis doesn't look right to me. Partition 1 (primary) is marked as an extended partition covering the whole disk, blocks 1 - 9729. Partition 2 is divided into three (5, 6 & 7) but almost totally overlaps partition 1?
Your hda partition table looks OK though.
Offline
Pages: 1