[Volontari] Ubuntu su HD esterno

Claudio Succa claudio.succa a pertel.it
Sab 10 Maggio 2008 20:01:16 CEST


18:32, sabato 10 maggio 2008 - Pierino scrive:
|>   Grub perņ deve essere installato sul disco USB... E forse la partizione
|>   dovrebbe essere flaggata come "bootable".

Corretto.

Per installare il bootloader si deve chiamare grub in modo interattivo.
Da consolle, come root, chiami "grub" e appare la seguente videata, con 
relativo prompt:

:~# grub
    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>

Probabilmente il disco usb č hd1 quindi dai i comandi "root (hd1,0)" e "setup 
(hd1)":

grub> root (hd1,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd1)
 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 (hd1)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p 
(hd1,0)/boot/grub/stage2 /boot/grub/menu.l
st"... succeeded
Done.

grub>

Ciao

-- 
Claudio Succa
PERTEL - Torino - Italy
+39-011-437.4141
http://www.pertel.it
http://www.uniassist.it


Maggiori informazioni sulla lista Volontari