kantele
22-10-2006, 14:59
su un pc con l'accoppiata ubuntu - windows, quest'ultimo è stato formattato ed ora ovviamente grub non funziona.
per reinstallare grub sto usando il cd di installazione di ubuntu 6.06, ma la procedura non mi va a buon fine.
premesso che il mio sistema è così suddiviso:
/dev/hda1 * 1 8404 67505098+ 7 HPFS/NTFS
/dev/hda2 8405 9733 10675192+ 5 Extended
/dev/hda3 9466 9733 2152710 b W95 FAT32
/dev/hda5 8405 9399 7992274+ 83 Linux
/dev/hda6 9400 9465 530113+ 82 Linux swap / Solaris
dopo aver montato la partizione di ubuntu (hda5) dandogli il comando "grub-install /dev/hda" ottengo sempre
root@ubuntu:/# /sbin/grub-install /dev/hda
Could not find device for /boot: Not found or not a block device.
ho provato anche entrare nel menu di grub, ma dandoli il comando "setup" ottengo
grub> root (hd0,5)
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 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed
Error 12: Invalid device requested
grub>
dove sbaglio?? :mc:
per reinstallare grub sto usando il cd di installazione di ubuntu 6.06, ma la procedura non mi va a buon fine.
premesso che il mio sistema è così suddiviso:
/dev/hda1 * 1 8404 67505098+ 7 HPFS/NTFS
/dev/hda2 8405 9733 10675192+ 5 Extended
/dev/hda3 9466 9733 2152710 b W95 FAT32
/dev/hda5 8405 9399 7992274+ 83 Linux
/dev/hda6 9400 9465 530113+ 82 Linux swap / Solaris
dopo aver montato la partizione di ubuntu (hda5) dandogli il comando "grub-install /dev/hda" ottengo sempre
root@ubuntu:/# /sbin/grub-install /dev/hda
Could not find device for /boot: Not found or not a block device.
ho provato anche entrare nel menu di grub, ma dandoli il comando "setup" ottengo
grub> root (hd0,5)
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 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed
Error 12: Invalid device requested
grub>
dove sbaglio?? :mc: