Wiki Ubuntu-it

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

Versione 2 del 19/10/2016 22.05.59

Nascondi questo messaggio

Questa guida descrive una procedura per fare una 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, perciò è perfettamente adatto per l'installazione di Ubuntu su una installazione GNU/Linux esistente.

Alternatives

If the computer you are installing on does not have network connectivity during installation, consider using the Installation/FromLinux method, which involves retrieving packages from an ISO instead of from the Internet at installation time.

Instructions

If the computer you wish to boot is not the same as the one you have grub installed on, then make a disk have a single megabyte free space (for the boot loader) followed by a small partition (to store the appropriate ramdisk image and kernel on). Mount this disk in the computer with grub, then (at least for older hardware and) do

 sudo apt-get install grub-pc-bin

and then; use

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

to get it onto the disk you created.

1. Download the appropriate initrd.gz and linux files for your architecture and distribution from

2. Or from archive.ubuntu.com/ in case you're looking for the development version.

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.