Help - Search - Members - Calendar
Full Version: Creating MCNLive cd
MandrivaUsers.org > Advanced Topics > MCNLive > Live CD/Live USB
bookie
Well, I am here now chris:b. I hope you don't mind me adding the questions here as already discussed

Need a few answers to questions concerning creating a MCNLive cd.

If I run a few things by you, you can tell me yes or know?
Do I understand you correctly that to make this live cd I should do a normal install of powerpack+ but without adding updates or a home partition?

I have already burned MCN live Toronto.iso onto a cd. How do I transfer the files from the cd to the computer exchanging them with the ones you mentioned?

When you boot the MCN live Toronto.iso you are given a few choices as to how you would like to proceed. For the ease of exchanging files - would it be best to install the cd on the hard drive?

Creating a live cd/dvd is an interesting idea. Many of the distros have that choice now, so it would be nice to create one of powerpack.


bokie
chris:b
With MCNLive you basically have two choices to build your own live system --> a new live iso file.

1. You don't install anything to your harddisk. We call it: remaster-on-the fly. You just start MCNLive, now you are running a live system in RAM. You can work on this system the same way as on an installed system. You can change settings, look&feel, you can install programs (with rpmdrake, MCC), you can uninstall programs etc. Watch out that you need enough RAM to do this. So, you better start with small additions.
When you are done, you start a small graphical wizard, answer some questions, and it will build a new iso image of your 'running' system.
The result is a stored iso file on your internal harddisk, that you can burn. You have your own live iso now.
The computer needs enough RAM (at least 512 MB) and a HD with either an NTFS partition or an ext3 linux partition, to store the file.
You can find a howto on the running MCNLive when you open a browser.

2. You can install MCNLive on your harddisk (on one / partition, and use a swap), boot the system, make all changes you want, and you run a command in a terminal to build your own live iso.

More info here:
http://www.mcnlive.org/howto_en.htm

And in the howto pages on MCNLive.

And here a screenshot:
http://www.mcnlive.org/delft/delft6.jpg

And the homepage of MCNLive:
http://www.mcnlive.org/index.html
bookie
Hi again, I wish you had answered my questions because I feel that there are unanswered ones:

1. Do I install powerpack+ 2007.1 onto my computer without a home partition?

2. Do I need to create a partition for MCNLive cd?

3.Does it affect the proceedings if I update my powerpack+ first.

4. Powerpack+ is on two dvd's. How will that be affected? Can I install the second cd. so that it becomes part of the live cd, or will the links included in the original dvd's be included?

Sorry to be a pain, I'm a black and white kind of guy with a limited brain capacity Ha, Ha. Looking at my post - I had forgotten on the second post to add the above info, so for that I apologize.

bookie
chris:b
bookie, MCNLive has nothing to do with Powerpack.

With MCNLive you don't install anything on your computer. Just leave your computer as it is.

MCNLive is a live system. You run it LIVE. Just boot it with the CD. And get familiar with it.
chris:b
As I told you in another thread, a Live system is not a installation DVD. You can't recreate a install DVD with MCNLive.
They are different beasts.
bookie
OK I guess I was barking up the wrong tree.

Thanks anyway.

bookie
mindwave
QUOTE (bookie @ Aug 17 2007, 09:39 AM) *
OK I guess I was barking up the wrong tree.

Thanks anyway.

bookie



check your private messages
bookie
Hi again, after working with MCNLivecd for a few days I think it has great potential. I am still learning basic commands - which depress the hell out of me at times - but you have to keep trying and trying to at last you see a light at the end of the tunnel.

I would like to know how to write the command to write an iso image - making sure it is created on a certain partition in a certain file etc.

If I give a scenario, perhaps someone could give me the commands? I have created a special partition to save the most recent iso images in case of crashes. This partition is sdb7 and is called /me1. Not very original but it serves a purpose. If I am to give the command as root to make my iso, what would be the appropriate commands with the above info?

Also, I am wondering if there is a way to search for previously created iso's that one hasn't been able to locate because of not giving the right pointers!!

bookie
chris:b
How do you work with MCNLive?

Booted as a live CD?
Installed on a harddrive?
Do you work as the user guest?

I don't understand this:

"... and is called /me1"

How did you exactly create the previous isos?
bookie
Hi again, well, I mean to say that I have transferred all the necessary files from MCNLive Toronto to my hard drive. I created a partition to save my iso's on, so that if the computer crashes I still have them. The partition is sdb7 and I gave it the mount name of /me1. My mum calls me her number 1 son, so I thought it appropriate to call myself /me1

The command for building the iso was #mklivecd --verbose mydate.iso: I put in the date of creating the iso for ease of reference. This was something mindwave gave me a tip about.

The thing I forgot to do was point the iso image to a certain folder.

bookie
bookie
The other thing I find strange is when I look for the /usr/lib/syslinux/flash.jpg on Torronto I can't find it?

bookie
chris:b
Okay.

1. You don't work with MCNLive with a base, but with a normal Mandriva installation.
That means that you are trying to build a Live CD from scratch.
You need to be a very experienced Linux and Mandriva user, or a genius, or you don't mind frustration ... biggrin.gif

2. If /me1 is a mount point, you won't have much luck. You don't mount partitions this way. The standard mount point should be somewhere under /mnt, for example: /mnt/me1
--> Umount this partition. Edit fstab to not use this mountpoint. Remove the directory /me1. Create a new mountpoint /mnt/blahblah, mount the partiton there.
If you go on using /me1 and you run mklivecd, the command will end up in a loop, you won't succeed to build a live iso.

3. When using a correct mount point, for example /mnt/me1, then the command for building and placing the final iso there would be:
mklivecd --verbose /mnt/me1/myown.iso

I would strongly advise that you take your time and get familiar with a standard Linux system, in particular with how Mandriva Linux works, and with the command line - to avoid too much frustration.
Also, I would like to ask you that you give EXACT informations when you are asking questions.

PS: the name of your topic is very misleading. Because you don't work with MCNLive, and you don't try to create a MCLive CD.
bookie
OK now I am outta here as you put it!!!

So as to not cause confusion, I have added my fstab read out.

[root@ROCKY bookie]# cat /etc/fstab
/dev/sdb1 / ext2 defaults 1 1
/dev/sdb6 /annamar ext3 defaults 1 2
/dev/sdb7 /me1 ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0
/dev/sda1 /mnt/win_c ntfs umask=0,nls=utf8,ro 0 0
/dev/sda6 /mnt/win_e ntfs umask=0,nls=utf8,ro 0 0
none /proc proc defaults 0 0
/dev/sdb5 swap swap defaults 0 0

What is wrong with my /me1?
chris:b
Read my answer above, and you know what is wrong.

/dev/sdb6 /annamar ext3 defaults 1 2

is wrong as well. Wrong if you want to build a live cd from this running system. And wrong because you mount partitions in Linux under /mnt/something.
bookie
We really don't seem to understand one another? I am sorry that I don't seem to speak your language? Please don't take offense that isn't what I mean.

Ok I will start again. When I create my livecd it will not include any of my hard drives apart from sdb1 the other hard drives I intend to unmount before I execute the mklivecd command.

The only thing I was trying to do was point my install to somewhere where I can find it? Maybe the iso automatically ends up in HOME. That is what I am asking you. If I included the other hard drives my live cd/dvd would be to big and run into problems that you explained.

I only want a livecd of Mandriva not any thing else. I was merely trying to ask you if I could say where my iso image can end up after creation?

If you have some suggestions, I am all ears. It could be that I am not grasping what your saying, or maybe it is vise versa?

What about me just unmounting all the other hard drives apart from sdb1 and creating the iso in home. Forgive me if I seem dense, but I was under the impression that when you run: mklivecd --verbose mydate.iso that it is of the main partition sdb1 if the others are unmounted?

bookie
Greg2
QUOTE (bookie @ Aug 26 2007, 08:11 AM) *
What is wrong with my /me1?
To be a correct Linux mount point it needs to be:
/mnt/me1

Do you understand?
bookie
Well, Greg2 this whole exercise is becoming very, very tedious. Do I understand? I think it is more a question of not many people have a grasp of the English language on this forum!!

I DO NOT WANT TO CREATE A LIVE CD OF /me1 or /annamar I just want to store my images on one of those partitions - which were - I would like to point out - created when I installed Mandriva Powerpack+

Perhaps you'd like to tell me that sdb1 / isn't a mount point as it doesn't have /mnt/ before it?!! Why don't you just say that Mandriva don't know how to mount partitions at all?

Sdb1 is my root partition as you all well know and it is that one that Mandriva is installed on. AND it is that one I would like to create a live cd of.

Have I made myself understood?!!

I have the patience of a Saint, always grateful for any advice I receive, but today I am beginning to wish I hadn't bothered..

I don't usually loose my patience. Well, a bit of news for you I am on the way to being ------ ---!!


bookie

(Without prejudice)
Greg2
QUOTE (bookie @ Aug 26 2007, 01:06 PM) *
Well, Greg2 this whole exercise is becoming very, very tedious. Do I understand? I think it is more a question of not many people have a grasp of the English language on this forum!!
QUOTE
I have the patience of a Saint, always grateful for any advice I receive, but today I am beginning to wish I hadn't bothered..
Well, I'm already sorry that I've wasted your time... and more importantly, my time.

If your attitude ever changes and you really want to understand Linux, let us know.

Greg
bookie
Well, as you will here from your personal message - I am very sorry for losing my cool. I understood what you were saying, but couldn't see the relevance at the time. The following is an updated fstab just to show I can admit when I am wrong and learn from it. So I guess this an apology to you and chris:b for being a pain in the ----!
I am not going to use my next few words as an excuse more of I am becoming more aware that my back problems are affecting my usually calm personality.
QUOTE
root@ROCKY bookie]# df
Filsystem Storlek Anvnt Tillg Anv% Monterat på
/dev/sdb1 49G 3,7G 42G 8% /
/dev/sda1 49G 34G 16G 68% /mnt/win_c
/dev/sda6 160G 35G 126G 22% /mnt/win_e
/dev/sdb6 154G 189M 146G 1% /mnt/annamar
/dev/sdb7 23G 173M 22G 1% /mnt/me1
/dev/sda5 25G 128K 25G 1% /mnt/windows
[root@ROCKY bookie]# cat /etc/fstab
/dev/sdb1 / ext2 defaults 1 1
/dev/sdb6 /mnt/annamar ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0
/dev/sdb7 /mnt/me1 ext3 defaults 1 2
/dev/sda1 /mnt/win_c ntfs umask=0,nls=utf8,ro 0 0
/dev/sda6 /mnt/win_e ntfs umask=0,nls=utf8,ro 0 0
/dev/sda5 /mnt/windows vfat defaults 0 0
none /proc proc defaults 0 0
/dev/sdb5 swap swap defaults 0 0
[root@ROCKY bookie]#



Once again sorry guys and girls.

bookie
Greg2
Apology accepted, thank you. Now, are you still having any problems? smile.gif
bookie
Well, I have been working quite a lot with mindwave. He has changed things a little. I unmounted all the drives apart from / and ran mklivecd --verbose 082607.iso. It ran to 46 % and then stopped.

I have tried rechecking the files from MCNLivecd, then cleaned up old mklivecd files and did a new run. But for some reason it hangs at the exact same place. The following is a out put of that run with a df reading of my hard drive - showing that I hadonly the one mounted and that there was plenty of space.


QUOTE
========================== [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00:24:23] [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00:24:23]
========================== [ 35.58% 00:08:40/00========================== 71867/155468 46%mksquashfs: file //usr/share/apps/rosegarden/fonts/feta/10/accidentals-( <-- HERE .xpm, uncompressed size 424 bytes
$/ at /usr/sbin/mklivecd line 288, <CMP> line 55780.
[root@ROCKY bookie]# df
Filsystem Storlek Anvnt Tillg Anv% Monterat på
/dev/sdb1 49G 3,7G 42G 9% /
[root@ROCKY bookie]#


The 3.7 is just after the run. It was 2.9GB before.

I am at a loss to understand what could have gone wrong. Mindwave was wondering about the files from MCNLive Toronto, size of the file, and how many partitions I had mounted. All of which , seem OK?

I am open to suggestions.

bookie
chris:b
CODE
The 3.7 is just after the run. It was 2.9GB before.


2.9 GB could be too much. (It can't be compressed to a 700MB CD, by the way)

It looks like you are running out of RAM, to build such a big image.
bookie
Hi chris:b, yes I appreciate what you are saying. Just been talking to mindwave about that very same thing. I am going to reduce the size of my image by getting rid of unwanted language packages and such like. Talking to mindwave about getting rid of rose garden. Haven't had time to see what rose garden is about though.

Regarding ram. Hadn't really considered that. I have 1024mb of ram at the mo. I have been thinking about upgrading to 2GB - perhaps this is the right time to think about that.

I was looking along the lines of a dvd instead of a cd.


bookie
mindwave
QUOTE (bookie @ Aug 26 2007, 06:44 PM) *
Talking to mindwave about getting rid of rose garden. Haven't had time to see what rose garden is about though.

Rosegarden is a REALLY awesome sound editor.

i love it, and will eventually attempt to put it back on my machine
bookie
Hi again, as you know I have been working with mindwave on creating a MCNLivecd. I was trying to use my own powerpack version which hasn't worked out how I would have liked. I appreciate that the idea of MCNLivecd was the standard spring version. What I don't understand is why I can't make a livecd from the powerpack version. It is after all based on the same product and the same kernel?

I have created many livecd versions - nearly all of which, I have been able to boot and work from BUT not install. I use the right draklive-install version. I run /usr/sbin/draklive-install. I get the install gui, I create a partition and formate it, but it is as far as I can get. The installer hangs after "computing total size". The install has Aray written at the top with some numbers and that is where it stays.

I haven't a clue what it can be that is causing the problem? I found MCNLivecd a usful tool if you do something stupid and cause kernel panic. One has to only boot from Toronto and move the files that one would have possibly lost otherwise.


I don't see any other use for MCNLivecd at the moment. Not trying to put chris:b down. I think she has done a brilliant job. I am just a little down because I can't utilize it for powerpack.


bookie
chris:b
MCNLive is not a tool to create a live cd from a fresh normal Mandriva installation. I do not advise this.

MCNLive IS a livecd. And with the possibility to remaster it. That's all.

QUOTE
I don't see any other use for MCNLivecd at the moment


It is for people who want to use it as a Live CD.
mindwave
BOOKIE - CLEAN OUT YOUR U2U mailbox, ITS FULL and I CANT SEND TO IT UNLESS THERES SOME ROOM MADE
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.