Friday, January 11, 2008

Booting Linux ISO from HD

Need to make it look as if it is coming from the CD.

stan@stan-laptop:~/tmp/Windows XP with SP2$ sudo mount ./ubuntu-7.10-desktop-amd64.isoD /mnt/xpiso -t iso9660 -o loop=/dev/loop0

stan@stan-laptop:~/tmp$ sudo mount ./ubuntu-7.10-desktop-amd64.iso /mnt/ubuntu_iso -t iso9660 -o loop=/dev/loop0
mount: stolen loop=/dev/loop0
stan@stan-laptop:~/tmp$

Seem to only be able to mount 1 at a time.

stan@stan-laptop:~/tmp$ sudo mount ./ubuntu-7.10-desktop-amd64.iso /mnt/ubuntu_iso -t iso9660 -o loop=/dev/loop0

Point the /cdrom link to point to the mounted drive.

Create a new link and make sure that it looks like the old.

stan@stan-laptop:~/tmp$ sudo ln -s ubuntu-7.10-desktop-amd64.iso /ISO_Link
stan@stan-laptop:~/tmp$ sudo mv /cdrom /cdromold
stan@stan-laptop:~/tmp$ sudo mv /ISO_Link /cdrom

Is the /cdrom link a hard link or a soft link? The /cdrom link is blue and the ones I create are black, but it is definitely a soft link.

It failed but went to the site when it did.


Media change: please insert the disc labeled
'Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016.1)'
in the drive '/cdrom/' and press enter

Err cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016.1) gutsy/main libgl1-mesa-glx 7.0.1-1ubuntu3
Unable to stat the mount point /cdrom/ - stat (2 No such file or directory)
Get:1 http://us.archive.ubuntu.com gutsy/main libgl1-mesa-glx 7.0.1-1ubuntu3 [176kB]
Get:2 http://us.archive.ubuntu.com gutsy/main libgl1-mesa-dri 7.0.1-1ubuntu3 [14.

No comments: