Re: [owl-users] Installing without a boot device?

From: Kevembuangga (jld@club-internet.fr)
Date: Sun Aug 19 2007 - 13:27:52 PDT


Le Fri, 17 Aug 2007 15:49:17 +0200,
Jean-Luc Delatre (Kevembuangga) <jld@club-internet.fr> a écrit :

> That's not the kind of hack I have in mind, I rather plan to mount the CD image on a loop device, find out the install scripts and hack them to run the install from the mounted image into a free partition.

Responding to my own question, in case anyone else has this silly problem:

# don't even need to burn a CD
mount -t iso9660 -o ro,loop /opt/owl/Owl-current-20070601-i386.iso /mnt

# locate the proper inittab
find  /mnt -type f -name inittab
/mnt/rom/etc/inittab
/mnt/rom/world/native/Owl/packages/owl-startup/inittab

# find out about the bootscript
grep ":sysinit:" /mnt/rom/etc/inittab |cut -f 4 -d ':'
/etc/rc.d/rc.sysinit

# run the bootscript
chroot /mnt /etc/rc.d/rc.sysinit

# check what the root shell is
grep "^root:" /mnt/rom/etc/passwd |cut -f 7 -d ':'
/bin/bash

# enter the Owl universe
exec chroot /mnt /bin/bash

# install
settle

Of course the partition has to exist before and be unmounted,
'settle' also complain about the already mounted partitions and cannot put them into the tree.
Just a matter of redoing the fstab afterward.
Another minor annoyance upon the install reboot the mounted partitions in the host OS are hung and need a fsck.

It took a few tries to find the proper sequence and this wasn't *really* for a secure install but for evaluation of Owl ;-)

JLD


-- 
To unsubscribe, e-mail owl-users-unsubscribe@private and reply
to the automated confirmation request that will be sent to you.



This archive was generated by hypermail 2.1.3 : Sun Aug 19 2007 - 13:27:41 PDT