特殊:Badtitle/NS100:Installation/NetbootInstallFromInternet

来自Ubuntu中文
Wikibot留言 | 贡献2009年5月12日 (二) 17:24的版本
跳到导航跳到搜索

{{#ifexist: :Installation/NetbootInstallFromInternet/zh | | {{#ifexist: Installation/NetbootInstallFromInternet/zh | | {{#ifeq: {{#titleparts:Installation/NetbootInstallFromInternet|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Installation/NetbootInstallFromInternet|1|-1|}} | zh | | }}

This HOWTO describes one way to do a Netboot install of Ubuntu 8.04 Hardy by booting from files on a hard disk. This installation method does not require burning a CD (or using any other external media, like a USB key), and it does not require you to configure a server on your LAN for PXE booting. You need to have grub already installed and bootable in order to use this method. It is therefore suitable for installing Ubuntu over an existing GNU/Linux installation.

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

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

Save them somewhere that grub can read from. Inside /boot is a fine place. (These files are quite small, under 10MB for either architecture.) 2. Reboot your computer and press ESC if necessary to enter the grub menu. 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: root (hd0,0) 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,. kernel /boot/path/to/linux initrd /boot/path/to/initrd.gz Replace these paths with the actual paths where you saved the files. If you saved them directy in /boot, the paths will be simply kernel /linux and initrd /initrd.gz. boot Your system should now boot into the Ubuntu installer. Follow the instructions from there.