[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux e win2000



On Sat, Oct 27, 2001 at 12:11:58PM +0200, adri wrote:
> puoi liquidarmi in qualche riga il procedimento?

apt-get install grub
mkdir -p /boot/grub
cp -pa /usr/lib/grub/i386-pc/* /boot/grub

se in /boot e` montata un partizione allora
conviene fare anche
cd boot ; ln -s . boot
(oppure usare un grub aggiornato. Lo so, e` rozzo avere
debtro /boot una sottodir boot che punta a . e quindi
una ricorsione /boot/boot/boot/boot/ eccetera tutte che
puntano a /boot)

Poi crei un opportuno /boot/grub/menu.lst
Per esempio:

# Boot automatically after 30 secs.
##timeout 30
timeout 5

color black/cyan yellow/cyan
# mandrake usa quei colori e messaggi e tastiera in italiano:
#i18n (hd0,3)/boot/grub/mdk72/messages
#keytable (hd0,3)/boot/mdk72/it-latin1.klt

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

title Potato 2.2.19 disco grosso
root (hd0,3)
kernel /boot/vmlinuz-2.2.19 root=/dev/hdb4 ro hdd=ide-scsi append hdb=1027,255,63

title Potato kernel di default disco grosso 15M ram
root (hd0,3)
kernel /vmlinuz root=/dev/hdb4 append mem=15M

title Potato disco piccolo hdb Bios
root (hd0,2)
kernel /vmlinuz root=/dev/hdb3 append hdb=1027,255,63

title Potato disco piccolo 15M ram
root (hd0,2)
kernel /vmlinuz root=/dev/hdb3 append mem=15M

title memtest86
root (hd0,3)
kernel /usr/lib/hwtools/memtest86.bin

title memmxtest
root (hd0,3)
kernel /usr/lib/hwtools/memmxtest.bin

############
##  # For booting Windows NT or Windows95
##  title Windows NT / Windows 95 boot menu
##  rootnoverify (hd0,0)
##  makeactive
##  chainloader  +1
##  # For loading DOS if Windows NT is installed
##  # chainload /bootsect.dos

### e altri esempi da /usr/share/doc/grub/menu.lst

OCCHIO: hd0=il primo hd che il bios vede. Se hda e` un cd
puo` essere hdb, eccetera. Indovina un poco cosa e` fd0 ...
(hd0,3)=la quarta partizione del primo HD che il bios vede
(e` ben noto che 3 e` un numero pari: 0-1,2-3. Ha, che orrore
questi informatici ...)

Infine, l'installazione:
grub-install /dev/hda
(SE il bios boota da hda, invece hdb se boota da hdb ...)
Ma se /boot e` per una sua partizione allora passi una opzione:
grub-install --root-directory=/boot /dev/hda
(e` in questo caso che il symlink rozzo ma efficace di cui
dicevo all'inizio aiuta)



Reply to: