Garthhh
June 30th, 2010, 04:35 PM
I don't have the ability to boot from USB or CD on this notebook
I would like to follow a procedure similar to this
https://help.ubuntu.com/community/Insta ... /FromLinux (https://help.ubuntu.com/community/Installation/FromLinux)
but need to understand
where the ISO should be stored [I can find the mostly empty partition I want to use]
what changes to make to this code to reflect the location of the ISO?
mkdir /tmp/install_cd
mkdir /tmp/installer
sudo mount disk-image.iso -o loop /tmp/install_cd
sudo mount /dev/sda1 /tmp/installer
sudo rsync -a /tmp/install_cd/ /tmp/installer
sudo umount /tmp/install_cd
sudo umount /tmp/installer
Replace the name of the iso to whatever you downloaded and /dev/sda1 with whatever your new partition is.
Step 3. Edit your grub configuration file (typically /etc/grub.conf or /boot/grub/menu.lst) to boot from the new partition by adding the lines
title installer
root (hd0,0)
kernel /casper/vmlinuz boot=casper root=/dev/ram ramdisk_size=1048576 rw
initrd /casper/initrd.gz
I would like to follow a procedure similar to this
https://help.ubuntu.com/community/Insta ... /FromLinux (https://help.ubuntu.com/community/Installation/FromLinux)
but need to understand
where the ISO should be stored [I can find the mostly empty partition I want to use]
what changes to make to this code to reflect the location of the ISO?
mkdir /tmp/install_cd
mkdir /tmp/installer
sudo mount disk-image.iso -o loop /tmp/install_cd
sudo mount /dev/sda1 /tmp/installer
sudo rsync -a /tmp/install_cd/ /tmp/installer
sudo umount /tmp/install_cd
sudo umount /tmp/installer
Replace the name of the iso to whatever you downloaded and /dev/sda1 with whatever your new partition is.
Step 3. Edit your grub configuration file (typically /etc/grub.conf or /boot/grub/menu.lst) to boot from the new partition by adding the lines
title installer
root (hd0,0)
kernel /casper/vmlinuz boot=casper root=/dev/ram ramdisk_size=1048576 rw
initrd /casper/initrd.gz