On Mon, Oct 29, 2001 at 08:51:53AM +0100, Michele Dalla Silvestra wrote: > On Sun, Oct 28, 2001 at 05:06:47AM +0100, NN_il_Confusionario wrote: > > 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 > >[...] > Troppo complicato, basta fare: > > apt-get install grub > grub-install "(hd0)" > Poi si edita semplicemente /boot/grub/menu.lst.
puo` essere (anzi e` certo) che io abbia idee sulla semplicita` profondamente diverse da quelle di voi informatici :-), ma quello che dicevo io vale per il grub di potato mentre quello che dicevi tu col grub di potato mi pare di ricordare non avesse funzionato (e sono ragionevolmente certo che non funziona se /boot e` mount point di una partizione) Invece con l'ultimo grub (bhe, quello che una settimana orsono circa era l'ultimo in unstable) che si ricompila senza problemi su potato la cosa e` stata (quasi) come dici: da README.Debian di grub_0.90-10: after installing the package: 1) grub-install /dev/hda or if /boot is a separate partition grub-install --root-directory=/boot /dev/hda using in place of /dev/hda the device that you boot from 2) update-grub which will create a menu.lst for you if one does not exist or manually create one, and skip to step 4 3) edit /boot/grub/menu.lst or if /boot is a separate partition edit /boot/boot/menu.lst and change groot, and kopt to whatever settings you need. modify anything else in the menu.lst you want, [Nota mia: leggere con attenzione i commenti in menu.lst o vi chiederete perche' non funziona ...] re-run update-grub to update the lines for each kernel to those that you specified with groot and kopt 4) thats it, making sure you have a rescue disk or some other way to boot your machine attempt to reboot using grub! Ne approfitto per fare qualche domanda: * quali file grub legge "raw" senza passare per il filesystem? In particolare: i vari stage* li legge raw, dal filesystem, o magari lo stage1 dal boot sector?) Anche: in quali casi occorre rieseguire grub-install (per aggiungere o togliere kernels o colori da menu.lst non occorre, ma per cambiare la mappa della tastiera mi pare di si [se non ho fatto i miei soliti errori da battitura ...] * per il raid software basta mettere una riga di comando del kernel come in Documentation/md.txt per esempio root=/dev/md0 md=0,0,4,0,/dev/hdb2,/dev/hdc3 ro (oltre ad avere il supporto nel kernel ovviamente)? * dove sono i docs per i bei gichetto che dicevi per imbedire il boot di win se non c'e` server samba eccetera?