Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati

Versione 5 del 20/10/2016 17.22.04

Nascondi questo messaggio

Questa guida descrive il procedimento per effettuare un'installazione Netboot di Ubuntu effettuando il boot da file su disco rigido. Questo metodo di installazione non richiede la masterizzazione di un CD (o di utilizzare un qualsiasi altro supporto esterno, come una chiavetta USB) e non richiede di configurare un server della LAN per l'avvio PXE. Per quest'ultima procedura consultare la guida Installazione/DaRete.

È necessario avere grub o grub2 già installato e avviabile al fine di utilizzare questo metodo, ciò lo rende adatto per l'installazione di Ubuntu su di una installazione GNU/Linux esistente.

Alternative

Se il computer su cui si sta effettuando l'installazione non dispone di connettività di rete durante il processo, è possibile utilizzare il metodo Installazione/DaImg, che prevede, al momento dell'installazione, il recupero dei pacchetti da una ISO invece che da Internet.

Istruzioni

Se il computer su cui si desidera avviare il boot non è lo stesso su cui avete installato grub, è necessario preparare un disco con almeno un singolo megabyte di spazio libero (per il boot loader) seguito da una piccola partizione (per memorizzare le immagini appropriate di ramdisk e kernel). Si deve procedere a montare questo disco sul computer con grub e (almeno per l'hardware più vecchio) a installare grub-pc-bin tramite

 sudo apt-get install grub-pc-bin

quindi, si deve utilizzare

 grub-install --target=i386-pc --boot-directory=/mnt/diskname/boot/ /dev/sdX

per installare grub nel disco che è stato creato.

1. Effettuare il download dei file initrd.gz and linux appropriati per la propria architettura e distribuzione da

2. Oppure da archive.ubuntu.com nel caso in cui si stia cercando la versione di sviluppo.

Save them somewhere that grub can read from. Inside /boot is a fine place. (These files are quite small, under 10MB for either architecture.)

3. Reboot your computer and press ESC if necessary to enter the grub menu (press Shift if you use grub2). Now we will get grub to boot from the files you just downloaded.

Press c to get a grub command prompt. Type each of the following lines:

  1. root=(hd0,1)

    Replace the root partition with the drive and partition on which your /boot is located. You can look at and copy the root line of any existing boot menu entry if you are at all unsure what this is, or you can try tab-completing after root ( or root (hd0,.

  2. In Grub2, the default for Ubuntu 10.04 LTS and onwards
    linux /boot/path/to/linux

    Or in older versions of Ubuntu or where you have replaced it with Grub 0.97 (or there-abouts)

    kernel /boot/path/to/linux
  3. initrd /boot/path/to/initrd.gz

    Replace these paths with the actual paths where you saved the files. If you saved them directly in /boot, the paths will be simply kernel /boot/linux and initrd /boot/initrd.gz.

  4. boot
    Your system should now boot into the Ubuntu installer. Follow the instructions from there.