ubuntu移动办公系统
时间:2006-05-15 来源:dongleilu
Installing Ubuntu to an external USB drive - A Howto
By Doug
Thru painful experience and sleepless nights, I finally figure out how to install Ubuntu or any kind of Lux distro to an external USB drive.
The key idea is to modify the mini ramdisk to start USB support module during the boot sequence. Here it is: 1) Install from CD
2) After installation, leave CD in drive and reboot with the parameter rescue
3) Pick your language and country
4) Wait for hardware detection to complete(was quite long on my system, seemed stuck for a while)
5) hostname: Ubuntu
6) Device to mount as root file system: /dev/discs/disc1/part1 (this may be different on your system. I have a boot partition in part1)
7) My system appears stuck here with a blue screen saying "Ubuntu Installer rescue mode"
my system was not stuck but I still needed to type Ctrl-AltF2 From here it is slightly different for mkinitramfs (Breezy) as opposed to mkinitrd (Hoary):
A. edit /etc/mkinitramfs/modules to add the following:
ehci-hcd
usb-storage
scsi_mod
sd_mod (nano didn't seem to come with Breezy, so use vim) B. make the new image file:
mkinitramfs -o /boot/initrd_usb.img /lib/modules/ so for me that was
mkinitramfs -o /boot/initrd_usb.img /lib/modules/2.6.12-9-386 You will likely need to edit your grub.conf file. title Ubuntu Breezy (2.6.12-9-386) USB
root (hd1,6)
kernel /vmlinuz-2.6.12-9-386 root=/dev/sda1 ro quiet splash
initrd /initrd_usb.img
savedefault Restart and enjoy the fruit
By Doug
Thru painful experience and sleepless nights, I finally figure out how to install Ubuntu or any kind of Lux distro to an external USB drive.
The key idea is to modify the mini ramdisk to start USB support module during the boot sequence. Here it is: 1) Install from CD
2) After installation, leave CD in drive and reboot with the parameter rescue
3) Pick your language and country
4) Wait for hardware detection to complete(was quite long on my system, seemed stuck for a while)
5) hostname: Ubuntu
6) Device to mount as root file system: /dev/discs/disc1/part1 (this may be different on your system. I have a boot partition in part1)
7) My system appears stuck here with a blue screen saying "Ubuntu Installer rescue mode"
my system was not stuck but I still needed to type Ctrl-AltF2 From here it is slightly different for mkinitramfs (Breezy) as opposed to mkinitrd (Hoary):
A. edit /etc/mkinitramfs/modules to add the following:
ehci-hcd
usb-storage
scsi_mod
sd_mod (nano didn't seem to come with Breezy, so use vim) B. make the new image file:
mkinitramfs -o /boot/initrd_usb.img /lib/modules/ so for me that was
mkinitramfs -o /boot/initrd_usb.img /lib/modules/2.6.12-9-386 You will likely need to edit your grub.conf file. title Ubuntu Breezy (2.6.12-9-386) USB
root (hd1,6)
kernel /vmlinuz-2.6.12-9-386 root=/dev/sda1 ro quiet splash
initrd /initrd_usb.img
savedefault Restart and enjoy the fruit
相关阅读 更多 +