baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "David Moberg" <davidjmoberg AT lycos.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] BL 3.x ISO images (remastering one) ?
- Date: Thu, 03 Mar 2005 12:49:14 -0500
Here are instructions for building the BL3 ISO:
First, grab the DISK1.IMG image file from the bl3-32fd.zip
file. Mount it like so:
mount -o loop DISK1.IMG /mountpoint
Then copy the disk1.gz and zimage files:
cp /mountpoint/disk1.gz /mountpoint/zimage ./
And unmount:
umount /mountpoint
Now unzip the first disk image:
gunzip disk1.gz
Mount it:
mount -o loop disk1 /mountpoint
Move the second disk over and also rename it to lowercase:
mv DISK2.TGZ /mountpoint/boot/disk2.tgz
Replace /mountpoint/etc/rc with a file containing the following:
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
mount -avt nonfs
mke2fs -i8192 -m0 /dev/ram1 2560
mke2fs -i8192 -m0 /dev/ram2 2560
mount -t ext2 /dev/ram1 /usr/X11R6
mount -t ext2 /dev/ram2 /hd
mv /boot/disk2.tgz /hd
zcat /hd/disk2.tgz | tar -xf - -C /
umount /hd
sync
hostname BasicLinux
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
cat /etc/issue
Now unmount mountpoint:
umount /mountpoint
Make a new folder to hold your iso:
mkdir iso
Make a subfolder to hold the bootloader:
mkdir iso/boot
mkdir iso/boot/grub
Make a subfolder to hold the image files:
mkdir iso/bl
Now make a grub configuration file in iso/boot/grub/menu.lst with
the following contents:
default 0
timeout 0
title bl
root (cd)
kernel /bl/zimage root=/dev/ram rw
initrd /bl/disk
Download this file to iso/boot/grub/stage2_eltorito:
http://www.arbornet.org/~djmoberg/stage2_eltorito
Move our image files over and rename if necessary:
mv zimage iso/bl/zimage
mv disk1 iso/bl/disk
Now all we have to do is make the iso:
mkisofs -o bl3.iso -R -b boot/grub/stage2_eltorito -no-emul-boot
-boot-load-size 4 -boot-info-table iso
Optionally we clean up after ourselves:
rm -rf iso
And bl3.iso is ready to go onto a CD.
Please let me know of any problems/corrections. Thanks.
Good luck,
David
--
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
-
[BL] BL 3.x ISO images (remastering one) ?,
Jari Aalto+mail.linux, 03/02/2005
- <Possible follow-up(s)>
-
Re: [BL] BL 3.x ISO images (remastering one) ?,
David Moberg, 03/02/2005
-
Re: [BL] BL 3.x ISO images (remastering one) ?,
Stephen Clement, 03/02/2005
-
Re: [BL] BL 3.x ISO images (remastering one) ?,
sindi keesan, 03/03/2005
- Re: [BL] BL 3.x ISO images (remastering one) ?, 3aoo-cvfd, 03/03/2005
-
Re: [BL] BL 3.x ISO images (remastering one) ?,
sindi keesan, 03/03/2005
-
Re: [BL] BL 3.x ISO images (remastering one) ?,
Stephen Clement, 03/02/2005
- Re: [BL] BL 3.x ISO images (remastering one) ?, David Moberg, 03/03/2005
Archive powered by MHonArc 2.6.24.