LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Customizing Linux ISO (https://www.linuxquestions.org/questions/linux-software-2/customizing-linux-iso-735613/)

flouran 06-25-2009 01:02 PM

Customizing Linux ISO
 
Hello forum-goers,
A year ago, I customized an Ubuntu 7.10 iso following this guide: http://www.linuxjournal.com/article/10038
However, I want to update the base system of my customized iso to at least Ubuntu 8.04. How do I do that?
One idea I think may work is:
Code:

sudo chroot ./isonew/custom
mount -t proc none /proc/
mount -t sysfs none /sys/
export HOME=/root
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get clean
rm -rf /tmp/*
umount /proc/
umount /sys/
exit

But, I am not sure if it works...could anyone verify this for me (I tested it once, but then the power went off when I was 80% done with the download which took 2 hours on my slow connection. So, I don't want to waste 2.5 hours to see that it failed)?

shane25119 06-25-2009 04:46 PM

Why not load up the updated version and simply repeat the procedure outlined in the article?

flouran 06-25-2009 06:14 PM

Quote:

Originally Posted by shane25119 (Post 3586417)
Why not load up the updated version and simply repeat the procedure outlined in the article?

I would, except I added so many packages to the Ubuntu ISO that I completely forgot what they were. Maybe there is a way to figure out what packages I added?

shane25119 06-26-2009 03:44 PM

Well, simply create a bootable ISO from what you have installed right now. I know I have seen tutorials on that one before... I think I actually asked a very similar question back in the day

http://www.linuxquestions.org/questi...system-704331/

flouran 06-26-2009 03:50 PM

Quote:

Originally Posted by shane25119 (Post 3587487)
Well, simply create a bootable ISO from what you have installed right now. I know I have seen tutorials on that one before... I think I actually asked a very similar question back in the day

http://www.linuxquestions.org/questi...system-704331/

That's an excellent idea! I will install my customized OS on my computer, update all of the packages and then make a bootable iso out of it. However, after I make the bootable iso, wouldn't I be the only account on a livecd session (if such is the case, then your method will not work for me because I want my customized OS to be public)?

jefro 06-26-2009 08:25 PM

You install the system, update it. If you have wrong users or other delete or fix. Then make the cd/dvd. Then delete the install. It's only use was to create a live update. I think I read this also on knoppix or other update distro how to's.

flouran 06-29-2009 12:00 AM

Quote:

Originally Posted by jefro (Post 3587655)
You install the system, update it. If you have wrong users or other delete or fix. Then make the cd/dvd. Then delete the install. It's only use was to create a live update. I think I read this also on knoppix or other update distro how to's.

What did you use? partimage?


All times are GMT -5. The time now is 10:18 AM.