Re: [Cooker] How to make iso from the hard disk.

2000-10-10 Thread Meir Faraj

On Wed, 11 Oct 2000, you wrote:
> There's a 7.2 mkiso bash script on mandrakes 7.2 beta dl page that will
> make iso's from mirror
>
> On Tue, 10 Oct 2000, you wrote:
> > On Tue, 10 Oct 2000, you wrote:
> > > Meir Faraj wrote:
> > > > On Tue, 10 Oct 2000, you wrote:
> > > > > Ron Stodden wrote:
> > > > > > http://members.optushome.com/ronst/
> > > > >
> > > > > Wrong!  Should be:
> > > > >
> > > > > http://members.optushome.com.au/ronst/
> > > >
> > > > I've already done the download using wget .
> > > > so I've all the tree of the rc1 now how to make the 2 iso images...
> > >
> > > If you have downloaded the rc1 tree with wget, you can install
> > > directly from your rc1 tree into another partition using a floppy
> > > made by dd from images/hd.img and won't need to go through the CD
> > > creation process at all.
> >
> > ok , I know that but I want to write since I wanna to create the CD
> > because I want to reorganize all my partition 
> > How to do this ?
yep but I've already download them this mean that I've to rewrite the 
script




Re: [Cooker] How to make iso from the hard disk.

2000-10-10 Thread Jason Straight

There's a 7.2 mkiso bash script on mandrakes 7.2 beta dl page that will make 
iso's from mirror



On Tue, 10 Oct 2000, you wrote:
> On Tue, 10 Oct 2000, you wrote:
> > Meir Faraj wrote:
> > > On Tue, 10 Oct 2000, you wrote:
> > > > Ron Stodden wrote:
> > > > > http://members.optushome.com/ronst/
> > > >
> > > > Wrong!  Should be:
> > > >
> > > > http://members.optushome.com.au/ronst/
> > >
> > > I've already done the download using wget .
> > > so I've all the tree of the rc1 now how to make the 2 iso images...
> >
> > If you have downloaded the rc1 tree with wget, you can install
> > directly from your rc1 tree into another partition using a floppy
> > made by dd from images/hd.img and won't need to go through the CD
> > creation process at all.
>
> ok , I know that but I want to write since I wanna to create the CD because
> I want to reorganize all my partition 
> How to do this ?




Re: [Cooker] How to make iso from the hard disk.

2000-10-10 Thread Meir Faraj

On Tue, 10 Oct 2000, you wrote:
> Meir Faraj wrote:
> > On Tue, 10 Oct 2000, you wrote:
> > > Ron Stodden wrote:
> > > > http://members.optushome.com/ronst/
> > >
> > > Wrong!  Should be:
> > >
> > > http://members.optushome.com.au/ronst/
> >
> > I've already done the download using wget .
> > so I've all the tree of the rc1 now how to make the 2 iso images...
>
> If you have downloaded the rc1 tree with wget, you can install
> directly from your rc1 tree into another partition using a floppy
> made by dd from images/hd.img and won't need to go through the CD
> creation process at all.
ok , I know that but I want to write since I wanna to create the CD because I 
want to reorganize all my partition 
How to do this ?




Re: [Cooker] How to make iso from the hard disk.

2000-10-10 Thread Alexander Skwar

On Tue, Oct 10, 2000 at 09:39:40AM +0300, Meir Faraj wrote:
> On Tue, 10 Oct 2000, you wrote:
> > Ron Stodden wrote:
> > > http://members.optushome.com/ronst/
> >
> > Wrong!  Should be:
> >
> > http://members.optushome.com.au/ronst/
> I've already done the download using wget .
> so I've all the tree of the rc1 now how to make the 2 iso images...

See atachment.  But someone noted that it would be better to hack in some
changes.  Forgot when the message has been posted and who it was. 

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191


#!/usr/bin/perl

open F, "bzip2 -dc @ARGV 2>/dev/null | hdlist2groups - |";
foreach () {
chop;
/(.*):(.*)/;
$l{$2}{$1} = undef;
}
close F or die;
foreach (sort keys %l) {
print "$_\n";
print "\t$_\n" foreach sort keys %{$l{$_}};
print "\n";
}


#!/bin/sh

# Linux-Mandrake Cooker HDlist Creation, flat version
# Made by Troels Liebe Bentsen from Kenny Graunke's script.

mdkLOCALROOT=/dist/Mandrake/cooker

# generate the dependance files
rm -f $mdkLOCALROOT/Mandrake/base/{hdlists,hdlist.cz2}
genhdlist_cz2 -o $mdkLOCALROOT/Mandrake/base/hdlist.cz2 $mdkLOCALROOT/Mandrake/RPMS
echo "hdlist.cz2 Mandrake/RPMS Installation CD (x86)" > 
$mdkLOCALROOT/Mandrake/base/hdlists

# Needed if you have added rpm.
rm -f $mdkLOCALROOT/Mandrake/base/compss
./gencompss $mdkLOCALROOT/Mandrake/base/hdlist*.cz2 > 
$mdkLOCALROOT/Mandrake/base/compss

rm -f $mdkLOCALROOT/Mandrake/base/{depslist,depslist.ordered,filelist}
gendepslist2 -o $mdkLOCALROOT/Mandrake/base/depslist 
$mdkLOCALROOT/Mandrake/base/hdlist.cz2
genfilelist $mdkLOCALROOT/Mandrake/RPMS > $mdkLOCALROOT/Mandrake/base/filelist

#!/bin/sh

# Linux-Mandrake Helium ISO CD Creation Script
# Made by Troels Liebe Bentsen.

mdkLOCALROOT=/dist/Mandrake-stable
mdkLOCALROOTTMP=/dist/Mandrake-stable2
mdkBOOTIMAGESTMP=/dist/Mandrake-stable2-img
mdkISODIR=/dist/iso
mdkISONAME1=MinLinux-0.1-ins.iso
mdkISONAME2=MinLinux-0.1-ext.iso
mdkISOLABLE1=MDK71INS
mdkISOLABLE2=MDK71EXT

rm -f $mdkISODIR/$mdkISONAME1 $mdkISODIR/$mdkISONAME2

# Do a little prep to get the boot images to the start of the first disk
rm -rf $mdkBOOTIMAGESTMP
mkdir -p $mdkBOOTIMAGESTMP
mv $mdkLOCALROOT/images $mdkBOOTIMAGESTMP

mkdir -p $mdkLOCALROOTTMP/Mandrake
mv $mdkLOCALROOT/Mandrake/RPMS2 $mdkLOCALROOTTMP/Mandrake

# create the first iso image
mkisofs -r -J -V $mdkISOLABLE1\
 -o $mdkISODIR/$mdkISONAME1 \
 -b images/cdrom.img \
 -c images/boot.cat \
 $mdkBOOTIMAGESTMP \
 $mdkLOCALROOT

# move the images back where they belong
rm -rf $mdkLOCALROOT/images
mv -f $mdkBOOTIMAGESTMP/images $mdkLOCALROOT/images
rm -rf $mdkBOOTIMAGESTMP

# create the second iso image
mkisofs -r -J -V $mdkISOLABLE2\
 -o $mdkISODIR/$mdkISONAME2 \
 $mdkLOCALROOTTMP/

# Move all data back
mv $mdkLOCALROOTTMP/Mandrake/RPMS2 $mdkLOCALROOT/Mandrake/
rm -rf $mdkLOCALROOTTMP/

#!/bin/sh

# Linux-Mandrake Cooker ISO CD Creation Script
# Made by Troels Liebe Bentsen from Kenny Graunke's script.

shopt -s extglob

mdkLOCALROOT=/opt/Mandrake
mdkLOCALROOTTMP=/opt/Mandrake-cooker2
mdkBOOTIMAGESTMP=/opt/Mandrake-cooker-img
mdkISODIR=/opt/iso
mdkISONAME1=cooker-inst.iso
mdkISONAME2=cooker-ext.iso
mdkISOLABLE1=MDKINS
mdkISOLABLE2=MDKEXT

rm -f $mdkISODIR/$mdkISONAME1 $mdkISODIR/$mdkISONAME2

# Move rpms to where they should go.
echo "Move rpms to where they should go."
mkdir -p $mdkLOCALROOTTMP/Mandrake/RPMS2
mv $mdkLOCALROOT/Mandrake/RPMS/* $mdkLOCALROOTTMP/Mandrake/RPMS2
for i in `cat $mdkLOCALROOT/Mandrake/base/rpmslist` ; do
 mv $mdkLOCALROOTTMP/Mandrake/RPMS2/$i-!(*-*)-!(*-*)mdk*.rpm 
$mdkLOCALROOT/Mandrake/RPMS 
done

# generate the dependance files
echo "generate the dependance files"
rm -f $mdkLOCALROOT/Mandrake/base/{hdlists,hdlist.cz2}
genhdlist_cz2 -o $mdkLOCALROOT/Mandrake/base/hdlist.cz2 $mdkLOCALROOT/Mandrake/RPMS
echo "hdlist.cz2 Mandrake/RPMS Installation CD (x86)" > 
$mdkLOCALROOT/Mandrake/base/hdlists

rm -f $mdkLOCALROOT/Mandrake/base/hdlist2.cz2
genhdlist_cz2 -o $mdkLOCALROOT/Mandrake/base/hdlist2.cz2 
$mdkLOCALROOTTMP/Mandrake/RPMS2
echo "hdlist2.cz2 Mandrake/RPMS2 Extension CD (x86)" >> 
$mdkLOCALROOT/Mandrake/base/hdlists

# Needed if you have added rpm.
echo "Needed if you have added rpm."
rm -f $mdkLOCALROOT/Mandrake/base/compss
./gencompss $mdkLOCALROOT/Mandrake/base/hdlist*.cz2 > 
$mdkLOCALROOT/Mandrake/base/compss

rm -f $mdkLOCALROOT/Mandrake/base/{depslist,depslist.ordered,filelist}
gendepslist2 -o $mdkLOCALROOT/Mandrake/base/depslist 
$mdkLOCALROOT/Mandrake/base/hdlist.cz2 $mdkLOCALROOT/Mandrake/base/hdlist2.cz2
genfilelist $mdkLOCALROOT/Mandrake/RPMS $mdkLOCALROOTTMP/Mandrake/RPMS2 > 
$mdkLOCALROOT/Mandrake/base/filelist

# Do a little prep to get the boot images to the start of the first disk
echo "Do a little prep to get the boot images to the start of the first disk"
rm -rf $mdkBOOTIMAGESTMP
mkdir -p $mdkBOOTIMAGESTMP
mv $mdkLOCALROOT/images $md

Re: [Cooker] How to make iso from the hard disk.

2000-10-10 Thread Ron Stodden

Meir Faraj wrote:

> On Tue, 10 Oct 2000, you wrote:
> > Ron Stodden wrote:
> > > http://members.optushome.com/ronst/
> >
> > Wrong!  Should be:
> >
> > http://members.optushome.com.au/ronst/

> I've already done the download using wget .
> so I've all the tree of the rc1 now how to make the 2 iso images...

If you have downloaded the rc1 tree with wget, you can install
directly from your rc1 tree into another partition using a floppy
made by dd from images/hd.img and won't need to go through the CD
creation process at all.

-- 
Regards,

Ron. [AU]




Re: [Cooker] How to make iso from the hard disk.

2000-10-09 Thread Meir Faraj

On Tue, 10 Oct 2000, you wrote:
> Ron Stodden wrote:
> > http://members.optushome.com/ronst/
>
> Wrong!  Should be:
>
> http://members.optushome.com.au/ronst/
I've already done the download using wget .
so I've all the tree of the rc1 now how to make the 2 iso images...




Re: [Cooker] How to make iso from the hard disk.

2000-10-09 Thread Ron Stodden

Ron Stodden wrote:
 
> http://members.optushome.com/ronst/

Wrong!  Should be:

http://members.optushome.com.au/ronst/

-- 
Regards,

Ron. [AU]




Re: [Cooker] How to make iso from the hard disk.

2000-10-09 Thread Ron Stodden

Ralph wrote:
> 
> I think the link to your page is wrong please check it. I cant get there from
> any message so far. I'm interested in the english download only.

> > http://members.optushome.com/ronst/

Yes, thanks.  Should be:

http://members.optushome.com.au/ronst/

-- 
Regards,

Ron. [AU]




Re: [Cooker] How to make iso from the hard disk.

2000-10-09 Thread Ralph

I think the link to your page is wrong please check it. I cant get there from 
any message so far. I'm interested in the english download only.

Thanks,
Ralph
>
> If all you want is an English English installation you can save a few
> hundred megabytes of download by using the fast rsync download from
> my web page:
>
> http://members.optushome.com/ronst/
>
> Using this, the tree download for 7.2beta needs less than 1 GByte.

-- 
WHEREVER YOU GO THERE YOU ARE AND
WHEREVER YOUR HEAD GOES YOUR ASS WILL FOLLOW!!




Re: [Cooker] How to make iso from the hard disk.

2000-10-09 Thread Ron Stodden

Meir Faraj wrote:

> since my connection is too slow (ISDN) I've decided to download all the
> distribution with a :
>  wget -m ftp://ftp.ciril.fr/pub/linux/mandrake-devel/7.2beta/i586
> 
> Now how to make the two CD's iso?

Unless you want the CDs for some other reason, it's better to do a
tree download (if you have a big enough space in a free partition)
and do a hd.img install from there.

If all you want is an English English installation you can save a few
hundred megabytes of download by using the fast rsync download from
my web page:

http://members.optushome.com/ronst/

Using this, the tree download for 7.2beta needs less than 1 GByte.

-- 
Regards,

Ron. [AU]