Hello there, I want to build an iso image whose output has to be a serial
consolle.

I'm doing this in a Linux workstation and those are my commands:

[[ ! -d "tmp" ]] && mkdir tmp
[[ ! -d "mnt" ]] && mkdir mnt

sudo mount  -o rw,loop -t iso9660 ${1} $(pwd)/mnt/
sudo cp -Rp $(pwd)/mnt/* $(pwd)/tmp/
sudo chown -R $(whoami):$(whoami) $(pwd)/tmp/
find $(pwd)/tmp/ -name "TRANS*" -type f -delete
cp {cdbr,cdboot} tmp/
#echo stty com0 115200 > $(pwd)/tmp/etc/boot.conf
echo "set tty com0" >> $(pwd)/tmp/etc/boot.conf
echo "set image /7.1/amd64/bsd.rd" >> $(pwd)/tmp/etc/boot.conf
mkisofs -o "open_serial.iso" -v -J -R -D -A "open_serial" -V "open_serial" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-G cdbr -b cdboot tmp/
rm -rf tmp/*
sudo umount mnt/

image doesn't boot. Some ideas?

Kind regards

-- 
Name: Riccardo Giuntoli
Email: [email protected]
Location: sant Pere de Ribes, BCN, Spain
PGP Key: 0x67123739
PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739
Key server: hkp://wwwkeys.eu.pgp.net

Reply via email to