LinuxQuestions.org
Help answer threads with 0 replies.
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 11-15-2004, 11:17 AM   #1
enigma82
Member
 
Registered: Sep 2004
Location: Fagaras, Romania
Distribution: Mandrake 10.0
Posts: 48

Rep: Reputation: 15
MDK 10.1 3CD onto DVD


I have a problem: I have MDK 10.1 Community on 3 CD's and I want to port it on DVD. Any ideea on how can I do that?
Directory structure, install files modified? What can I do?`
 
Old 11-15-2004, 01:21 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Well you could do that, although the disk may not be bootable when you are done.

However an easier solution would be to merely download the entire contents of one of the repositories (if you have a FAST connection) and burn the whole thing (minus Contrib) to DVD.

This retains the entire DVD structure intact.

Note that the disk will still not be bootable.
 
Old 11-15-2004, 03:50 PM   #3
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
is there not a way that you can make it bootable?

In windows with nero you can write a bootable dvd and as long as you keep the file structure correct on the dvd you can use it to install i would imagine.

i do stand corrected on this though.

the only thing i need to know, is in what goes where.
I mean can you basically make a copy of "mdk installation cd 1" and copy the contents of the other cd's into the correct folders?

or am i totally off track here with this?
 
Old 11-15-2004, 08:16 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
No I've tried what you suggested.

The installer does not recognize that the rpm's are all available on the single disk because of the structure of the .cz lists.

I know that it is possible to make the disk bootable using one of the included scripts, but I've never tried it.

It's not as simple as copying the bootloader under Nero as Linux doesn't use the same bootloader techniques.

isolinux is probably used instead... but again I've never played with this.
 
Old 11-16-2004, 09:30 AM   #5
enigma82
Member
 
Registered: Sep 2004
Location: Fagaras, Romania
Distribution: Mandrake 10.0
Posts: 48

Original Poster
Rep: Reputation: 15
Sorry but I cannot download the DVD repository! Internet connection unavailable!
Is there any way that i can modify (please send me some docs or URLs) those lists that you were talking about? I think that I can figure out how to make it botable if I can manage to make him take all the files from one disk only!

thanks for your time.
 
Old 11-16-2004, 12:52 PM   #6
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
It can be done. Hers the script I use.
#/bin/bash

>>>>>>>>>> Start with the next line <<<<<<<<<<<<<<<
# by Chris Kloiber <ckloiber@redhat.com>
# Slight adaptation for Mandrake by Sergei Zuyev <sergei@stams.strath.ac.uk>

# A quick hack that will create a bootable DVD iso of a Mandrake Linux
# Distribution. Feed it either a directory containing the downloaded
# iso files of a distribution, or point it at a directory containing
# the "Mandrake", "isolinux", and "images" directories.
#It creates /destination/dvd.iso and also the complete dvd structure in ./mkmdkdvd directory. If your dvd.iso creation is successful
#(check with
#mount dvd.iso -r -t iso9660 -o loop /mnt/loop
#ls /mnt/loop )
#then you can safely remove
#/bin/rm -r ./mkmdkdvd

# Usage:
# mkdvdiso.sh /path/to/the/cd/isos /destination/dvd.iso
# Burning :
# /usr/bin/growisofs -Z /dev/<yourDVDwriter>=/destination/dvd.iso

# Lots of disk space required to work, 3X the distribution size at least.

# GPL version 2 applies. No warranties, yadda, yadda. Have fun.


if [ $# -lt 2 ]; then
echo "Usage: `basename $0` source /destination/DVD.iso"
echo ""
echo " The 'source' can be either a directory containing a single"
echo " set of isos, or an exploded tree like an ftp site."
exit 1
fi

cleanup() {
[ ${LOOP:=/tmp/loop} = "/" ] && echo "LOOP mount point = \/, dying!" && exit
[ -d $LOOP ] && rm -rf $LOOP
[ ${DVD:=`pwd`/mkmdkdvd} = "/" ] && echo "DVD data location is \/, dying!" && exit
[ -d $DVD ] && rm -rf $DVD
}

cleanup
mkdir -p $LOOP
mkdir -p $DVD

if [ !`ls $1/*.iso 2>&1>/dev/null ; echo $?` ]; then
echo "Found ISO CD images..."
CDS=`expr 0`
DISKS="1"

for f in `ls $1/*.iso`; do
mount -o loop $f $LOOP
cp -av $LOOP/* $DVD
if [ -f $LOOP/.discinfo ]; then
cp -av $LOOP/.discinfo $DVD
CDS=`expr $CDS + 1`
if [ $CDS != 1 ] ; then
DISKS=`echo ${DISKS},${CDS}`
fi
fi
umount $LOOP
done
if [ -e $DVD/.discinfo ]; then
awk '{ if ( NR == 4 ) { print disks } else { print ; } }' disks="$DISKS" $DVD/.discinfo > $DVD/.discinfo.new
mv $DVD/.discinfo.new $DVD/.discinfo
fi
else
echo "Found FTP-like tree..."
cp -av $1/* $DVD
[ -e $1/.discinfo ] && cp -av $1/.discinfo $DVD
fi

rm -rf $DVD/isolinux/boot.cat
find $DVD -name TRANS.TBL | xargs rm -f

cd $DVD
mkisofs -J -R -v -T -o $2 -b isolinux/isolinux.bin -c Boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .

# cleanup # uncomment to remove ./mkmdkdvd directory
echo ""
echo "Process Complete!"
echo ""
>>>>>>>>>>>>>> End Of Script <<<<<<<<i

and now the how to

s a bash script to make dvd.iso from multiple cd.iso files. Use it like this:

mkdvdiso.sh /path/to/the/cd/isos /destination/dvd.iso

It creates /destination/dvd.iso and also the complete dvd structure in ./mkmdkdvd directory. If your dvd.iso creation is successful
(check with
mount dvd.iso -r -t iso9660 -o loop /mnt/loop
ls /mnt/loop )
then you can safely remove
/bin/rm -r ./mkmdkdvd
If not, you at least have a complete system in this directory to use as a source or to see manually why the iso-image creation hasn't worked for you.

Enjoy, but do not blame me if smth goes wrong
(Checked on ML10.0-community, official, 10.0.2)
I've used it with the 10.1 Community and the 10.1 official with all 6 Cd's of the Club's Power Pack

Hope This Helps
 
Old 11-16-2004, 04:46 PM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Nice!
 
Old 11-17-2004, 01:33 AM   #8
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
Yeah! thanks for that courtrrb
 
Old 11-17-2004, 07:21 AM   #9
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Wow, thanks for that very useful info
 
Old 11-17-2004, 10:14 AM   #10
JermJHart
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
So, If I have the multiple CD ISOs, can I use this to make the same DVD file structure onto my hard drive to do a hard drive install? I actually don't have either a DVD or CD burner and so I need to do a HD install but when I do with all of the ISOs, for some reason, it only reads what is on the first disk and so I can't install the applications and things from the other ones.
 
Old 11-17-2004, 03:57 PM   #11
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Yes in that case it should work.
 
Old 11-18-2004, 12:51 PM   #12
enigma82
Member
 
Registered: Sep 2004
Location: Fagaras, Romania
Distribution: Mandrake 10.0
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks a lot for that info!!!
Comprehensive info! - Nice

I bow before you!
 
Old 11-28-2004, 07:59 AM   #13
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
would this script also work for other distros than MDK?
 
Old 11-28-2004, 10:05 AM   #14
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
I don't know I haven't tried any other distro in years. So you will have to try it and check the ISO.
 
Old 11-28-2004, 11:26 AM   #15
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
i found a thread, on the SuSE Forums, dealing with this for the SuSE distro, unfortunately it involves using Windows...but i'll try that one first and then try your script if it doesn't work. a 100% linux solution is of course preferred

http://forums.suselinuxsupport.de/in...=0&#entry46045
 
  


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
dvd writer for MDK 10.1 learnmelinux Mandriva 4 04-21-2005 05:03 PM
No DVD-Burner under MDK 10.1CE themacmeister Linux - Hardware 4 01-28-2005 02:52 AM
Linux Format #53 Mandrake Community 10 3CD set - Cannot install ! cgtueno Mandriva 5 11-11-2004 01:22 AM
MDK 10.0 using NEC DVD-writer psychoplop Mandriva 1 04-13-2004 03:49 PM
dvd-r config in mdk 9.1 jib2 Linux - Hardware 5 11-03-2003 03:21 PM

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

All times are GMT -5. The time now is 06:45 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