LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2011, 07:39 AM   #1
tikit
Member
 
Registered: Feb 2008
Posts: 85

Rep: Reputation: 16
Problem with creating custom live CD


I am trying to create a custom Ubuntu live CD according to this guide https://help.ubuntu.com/community/LiveCDCustomization. First of all I wanted to test how mkisofs utility works so I copied the content of the live CD to /tmp/bootcd directory and create an ISO image. I ran the following commands
Code:
sudo rsync -av /media/CDROM/* /tmp/bootcd/
cd /tmp/bootcd 
sudo mkisofs -r -V "Ubuntu9.10" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-9.10.iso .
If I understand it correctly, the same image as the source one should be created.

When booting the Ubuntu boot menu appears and I choose "Try Ubuntu without installing.." It gets stuck after a while with this message "Unable to find a medium containing a live filesystem"

Do you have any idea where the problem could be?

Thanks in advance
 
Old 02-17-2011, 03:16 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I'd try without the cd to /tmp/bootcd, and where mkisofs has 'some files' in the help, I'd reference /tmp/bootcd/*

Also, k3b handles this stuff very well, if you have that installed.
 
Old 02-18-2011, 01:46 AM   #3
tikit
Member
 
Registered: Feb 2008
Posts: 85

Original Poster
Rep: Reputation: 16
I tried without cd into bootcd directory, but no success.
Code:
sudo mkisofs -r -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/ubuntu-9.10.iso ./bootcd
Just for testing purposes I tried to create a bootable CD from SystemRescueCd and SLES11 and it worked. However, for Ubuntu 9.10 and 10.10 it does not. So it seems to be an Ubuntu specific problem.

BTW: I installed k3b, created an ISO but I don't find any option how to make it bootable

Thanks for your help
 
Old 02-19-2011, 03:41 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by tikit View Post
BTW: I installed k3b, created an ISO but I don't find any option how to make it bootable
If you have k3b, you don't need the iso. Just add the files, and it will make it bootable IIRC if you want. You can mount the iso as follows:
modprobe loop
mount -o loop -t iso9660 your.iso /somewhere

Last edited by business_kid; 02-19-2011 at 03:43 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create custom menu while creating live CD manya Linux - General 0 10-06-2010 01:57 PM
problem creating custom xkb layout drobert Linux - Desktop 3 06-28-2008 08:21 PM
LXer: Creating Your Own Custom Ubuntu 7.10 Or Linux Mint 4.0 Live-CD With Remastersys LXer Syndicated Linux News 0 12-04-2007 04:40 PM
Creating custom headers to match a custom kernel utanja Debian 2 06-08-2007 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration