[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remastering ISOs to append boot options

2009/7/15 Samuel Thibault <sthibault@debian.org>
MaTa, le Sat 11 Jul 2009 18:21:16 +0200, a écrit :
> The PC have a RJ-45 connector? Can be that a "net plu"g is a serial console
> too.

It could not have.  My question is about rs-232 console.

> I have installed Debian in SunFire V120 (Sparc maquine with RJ-45 connector
> "serial console") through hyperterminal with the standard Debian installation
> CD
> A possible alternate way can be a preseed installation (a preconfigured file)

Ok, but how do you proceed?  Don't you need to either pass options to
the kernel or prepare a particular image with the preseed config file?

The preseed file it's "only" a text file with options that you can choose in installer predefined in a file. To install a system using it needs to "remaster" de CD with a little modification in boot options and include the preseed file. It's no very complicated

A little/not exactly "quick guide" can be: (I'm not and expert, sorry if I'm wrong and for my english):

1) Copy all contents of the media (CD/DVD) into a local directory:
  mkdir /tmp_dir
  mount /dev/cdrom /media/cdrom
  rsync -a /media/cdrom /tmp_dir

2) Modify a line in /tmp_dir/isolinux/txt.cfg file:
    append vga=normal initrd=/install.386/initrd.gz -- quiet
    append vga=normal initrd=/install.386/initrd.gz preseed/file=/cdrom/preseed.cfg -- quiet

3) Copy preseed file to root tmp_dir folder
   cp some_location/preseed.cfg /tmp_dir/preseed.cfg

4) Rebuild the iso file with:
cd /tmp_dir
mkisofs -r -V "Custom Debian Install CD" -cache-inodes -J -l -b isolinux/isolinux.bin \
    -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \
    -o outputdir/modified_image.iso ./

  (like the instruction /media/cdrom/.disk/mkisofs )

I recomend (I'm not an expert) to search too about "debconf-get-selections --installer", "DEBIAN_FRONTEND=text" and HOWTO remaster/rebuild a Debian image. :P





To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: