Modified ISO

Terry Chan tpchan at
Fri Jan 24 23:30:13 GMT 2003


Here are a short list of steps I use to test the Lunar ISO's using

To create a root_fs using the Lunar ISO and the mkrootfs script from UML:

1. Run mkrootfs script from UML.
2. Create 512MB empty ext3 fs.  See mkemptyfs.
3. mount -t ext3 /mnt/root root_fs -o loop
4. mount -t iso9660 /dev/cdrom /mnt/cdrom
5. cp -a /mnt/cdrom /mnt/root
6. Edit /mnt/root/etc/inittab, c1:12345:respawn:/sbin/agetty 38400 ttys/0
7. Comment out c2,c3,c4,c5,c6 in /mnt/root/etc/inittab
8. boot uml with uml mem=128M ubd0=root_fs ubd1=emptyfs.swap.512
9. login as root, remount / with mount / -o remount,rw
10. Set /etc/localtime symlink
11. Removd /isolinux directory
12. Create /etc/lunar.release for the /etc/issue files.

Terry Chan
On Fri, Jan 24, 2003 at 07:18:11PM -0800, Todd A. Jacobs wrote:
> I'm trying to tweak the new 1.2 ISO for installation under User-Mode
> Linux. In order to do this, I need to do two things:
> 	1. Replace the kernel on the ISO with one built against the UML
> 	patch. I'd prefer to use the pre-built 2.4.19 kernel available
> 	from the UML website, if possible.
> 	2. Add the patch to the list of patches included in the ISO.
> I've mounted the ISO as a loopback, but (not being terribly familiar with 
> syslinux) I can't figure out where the kernel is on the ISO.
> Can someone familiar with this ISO give me a few pointers in the right 
> direction?

More information about the Lunar mailing list