LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-30-2004, 02:31 PM   #1
kechara
LQ Newbie
 
Registered: Apr 2004
Location: Denmark
Distribution: Arch Linux, Mageia
Posts: 3

Rep: Reputation: 0
Using mkcd to make DVD from CDRs, Can't get it to work


Hello,

First of I'd like to apologize if this seems to be a question asked before in the forums.
I have used the search function to find and read through other threads concerning making a DVD from the downloaded ISO files.
Basically I need someone to explain a couple of things to me about how to use the "MakeCD" and "mkcd" commands.

I tried to follow the guide on the following homepage:
members.shaw.ca/mandrake/drakx/HTML/section8.html
By following that guide I ended up with a DVD that can boot, and I can partition my harddrive. After that I get an error:

An error occurred
INTERNAL ERROR: No kernel available
MDK::Common::Various::internal_error() called from /usr/bin/perl-install/pkgs.pm:191

(There are more lines in the error message, to save space only the first three lines are presented here)


After some tries where none of the DVDs worked as they should, I tried a different approach.
I made a config file and tried to use "mkcd" instead. Here I didn't even get a DVD ISO to burn to a DVD!?
This is what my config file looks like:

#

10.0

list -k Mandrake/Mandrake/base/pubkey1 1
rpmlist -b Mandrake/Mandrake/RPMS

# download

disc 1 4700m 92DOWNLOAD1 "Installation CD 1 (x86)" "MandrakeLinux9.2-Download-1" -p Mandrakesoft
dir rpms Mandrake/RPMS
generic --synthesis rpms 1
advertising Mandrake/share/advertising/pwp-01.png
installation -o 50,3,0.1 --synthesis -l fr,it,en,de,es -t GuessWhat-download-i586 -i Mandrake/ -d 1/rpms
boot --isolinux isolinux -b isolinux/isolinux.bin --first Mandrake/isolinux -f Mandrake/images/

I have made a folder /cd/Mandrake on my system where I have copied all files from the CDs. All rpm files have been copied to /cd/Mandrake/Mandrake/RPMS.
Do I need to remove some files to get "mkcd" to work?
Is my config file OK?
Am I a total moron? (well, yes I think I am! It can't be impossible to make a DVD?!)

Can anyone help me out?
Thanks for taking the time to read this thread.
 
Old 06-30-2004, 09:27 PM   #2
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
I can't answer your question directly because I don't use that script but I can show you the steps I use to create an install dvd that works with no problems. (On my system at least).

First, same as on the web page you pointed to, make sure you do the 'urpmi mkcd'. MakeCD is just a way of calling mkcd without having the perl scripts it needs installed on your system. MakeCD uses the scripts on your cd. For some reason MakeCD stopped working (for me) with Mandrake 10 although it worked well in Mandrake 9.2.

Second, mirror the appropriate tree. You can get all 7 cds in the power pack if you do this, not just the three download ones. I'm going to show how I do this for cooker but you can change the tree to official or community if you like. Here is how I do it:

mirrordir -v --no-mtimes --follow-symlinks --exclude-glob RPMS3 ftp://ftp.proxad.net/pub/Distributio...l/cooker/i586/ /mnt/windows/cooker/

I did it this way because I wanted contrib but not the java stuff. You usually need to do this twice or more because the tree often will get updated while you mirror it. (This is for cooker, if you want official once should be enough). You could use wget or another utility if you wanted to.

Ok, next do ls -a in your tmp/ directory and delete the files from previous builds as they might cause errors. (Unless you haven't done a previous build.)

Then, create the iso. Here is my command:

mkcd --discsize 4200m -t /mnt/windows -a -c 1 /mnt/windows/cooker

You don't need to create the iso directory, the script will do it for you. Note that getting alot of error messages from this is normal, especially for cooker. The iso produced will work.

Then just burn the iso using something like k3b.

Also, for additional info, check out the Mandrake developers site .
 
Old 07-02-2004, 12:05 PM   #3
kechara
LQ Newbie
 
Registered: Apr 2004
Location: Denmark
Distribution: Arch Linux, Mageia
Posts: 3

Original Poster
Rep: Reputation: 0
Hi doug_s,

Thanks for the guide. I now have a working DVD I can use to install Mandrake on my other computers. :-)

When you make a DVD, is it bootable afterwards? I couldn't get mine to boot, I had to use a bootdisk.
I then tried making a DVD (again) according to the web page I mentioned in the beginning of this post. And this time I got a DVD image that worked. Must have done something wrong the other day.

Again thanks for the help. I just hope I can help someone too some day.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Killing CDRs left and right Seiken Slackware - Installation 1 10-19-2005 02:09 PM
How to Make Linux 9.3 Live DVD Work mcloughlindale Linux - Software 4 09-12-2005 12:19 PM
mkcd xbaez Mandriva 2 11-03-2004 01:02 PM
mkcd not working for me atifraza82 Mandriva 1 07-13-2004 09:13 PM
Multisession CDRs Annex Linux - Software 1 06-28-2002 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:26 AM.

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