Custom Ubuntu LXF150

Comments, suggestions and questions about Linux Format magazine and the coverdiscs

Moderators: ChriThor, LXF moderators

Custom Ubuntu LXF150

Postby jdp407 » Sat Sep 17, 2011 2:20 pm

In the article on creating a custom Ubuntu ISO in LXF150, it was mentioned that the necessary commands to update the files in 'cd_root' would be included on the disk. I cannot, however, find these commands! Can anyone tell me what commands to use?
Posts: 1
Joined: Sat Sep 17, 2011 2:16 pm

Postby heiowge » Sat Sep 17, 2011 3:50 pm

Sorry, but I can't, but I was unclear why the article went overboard to show us how to customise Ubuntu the complicated way, then as an asside say Oh, you can do it graphically as well and it's much easier.

Why not just show us the easy method? :?
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 17.1 MATE and Win7

HP mini, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 17 MATE
LXF regular
Posts: 1919
Joined: Wed Feb 27, 2008 8:21 pm
Location: Cheshire, UK


Postby jonrob » Mon Sep 19, 2011 10:42 am


Mike just pointed me to this thread. I'm very sorry for never actually sending him the code to put on the disc, complete brain freeze on my part! Anyway, for those who are looking for it, here's what you need:

Code: Select all
chmod +w work/cd-root/casper/filesystem.manifest
sudo chroot edit dpkg-query -W --showformat='${Package} ${Version}\n' > work/cd-root/casper/filesystem.manifest
sudo cp work/cd-root/casper/filesystem.manifest work/cd-root/casper/filesystem.manifest-desktop
sudo sed -i '/ubiquity/d' work/cd-root/casper/filesystem.manifest-desktop
sudo sed -i '/casper/d' work/cd-root/casper/filesystem.manifest-desktop

printf $(sudo du -sx --block-size=1 edit | cut -f1) > work/cd-root/casper/filesystem.size

cd work/cd-root
sudo rm md5sum.txt
find -type f -print0 | sudo xargs -0 md5sum | grep -v isolinux/ | sudo tee md5sum.txt

Once again, sorry! Also, I know I showed the hard way and then mentioned that you can do it easily with a graphical tool, but I always think it's good to know how things work as well as knowing how to work them :-)
Site admin
Posts: 43
Joined: Thu Jun 30, 2011 3:24 pm

Return to Magazine and coverdiscs

Who is online

Users browsing this forum: No registered users and 0 guests