The time now is Thu 12 Dec 2019, 00:41
All times are UTC - 4 |
Page 1 of 2 [16 Posts] |
Goto page: 1, 2 Next |
Author |
Message |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Fri 15 Jul 2005, 15:15 Post subject:
How To: Remaster Live-CD based on Hard Drive Installation |
|
I had Puppy 1.0.3 installed on a dedicated partition (Type 2 HD install), and installed other pupGet/dotpup packages, and some utilities from VectorLinux and applications from God-knows-where, and customized WindowsManager to fit my taste. Now I want to make a live-CD to share with others. Here comes a simple script to make it happen. It does not have error-checking, but could be added easily if other people find it interesting (it shows how Puppy COULD be made). Don't know if it works under upcoming 1.0.4
Simply download the zip file and see if it helps
Description |
Remaster live-CD based on HD Option 2 Installation
|

Download |
Filename |
remaster-hd.zip |
Filesize |
1.46 KB |
Downloaded |
1399 Time(s) |
|
Back to top
|
|
 |
klhrevolutionist

Joined: 08 Jun 2005 Posts: 1124
|
Posted: Sat 16 Jul 2005, 01:44 Post subject:
give more detail |
|
tell some of things your version has to offer!
is this more for experienced users, beginners, anybody???
_________________ Heaven is on the way, until then let's get the truth out!
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Sat 16 Jul 2005, 09:17 Post subject:
Re: give more detail |
|
It is not my version, it is YOURS
I was sharing the process/script to remaster a live-CD. how to use it is entirely up to you. After you install puppy on HD, you could customize it, by adding/deleting applications, rearrange things around, put up your icons and background.
and furthermore, the remaster process could be used to show how Linux boots and how live-CD works
you might need a bit Linux experience or willings to learn to find it interesting
klhrevolutionist wrote: | tell some of things your version has to offer!
is this more for experienced users, beginners, anybody??? |
|
Back to top
|
|
 |
NE43

Joined: 03 Jul 2005 Posts: 4 Location: Brisbane. Sunny Queensland
|
Posted: Sat 16 Jul 2005, 11:44 Post subject:
|
|
Thanks drj.
_________________ Freedom ain't free.
Linux user # 296961
http://counter.li.org/
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Sat 16 Jul 2005, 17:03 Post subject:
|
|
First of all, WHY do we even need to remaster a live-CD when we have had all wonders of Puppy Linux?
Simple answer, because we can.
Surely we can come up many situations that we would be happier to have our own Linux distro to fit our unique requirements. however, if we were unable to do it as with other OS, we won't need this how-to.
OK, now let's dip into HOW to secion:
0. install Puppy Linux 1.0.3 to your hard disk, select option 2
0.5 add/remove applications as you like, if you are a Windows user, iceWM+XP theme are good (both are dotpup). keep it lean and mean
1. Find an Linux filesystem has 160MB free disk space, I am using /mnt/data, if you have something different, modify STAGE variable accordingly (Line 8 of remaster-hd.sh)
2. copy file goofy.16 from original CD to $STAGE, you can make your own boot image
cp /mnt/cdrom/goofy.16 /mnt/data
3. save remaster-hd.zip to $STAGE as well, and unzip it
unzip remaster-hd.zip
4. open a rxvt window, and execute remaster-hd.sh,
./remaster-hd.sh
5. if everyhing goes, you will end up an ISO file (myPuppy.iso) in /mnt/data/stage
6. burn it to CD or directly boot from it (if you are using VMWare)
7. a few things could go wrong, so watch out
a. if you don't have /boot/vmlinuz, you are not using Puppy HD option 2
b. if you have too many applications installed, initial ramdisk might be too small for you (I set it to 20MB, 9MB bigger than official 11MB), modify RAMDISKSIZE (Line 7)
c.
|
Back to top
|
|
 |
Alienx

Joined: 06 May 2005 Posts: 141 Location: Rio de Janeiro - Brazil
|
Posted: Sat 16 Jul 2005, 17:53 Post subject:
|
|
can I use this script to remaster a live-cd from one Slackware or Vector hd installation ?
_________________ Sorry, broken english above 
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Sat 16 Jul 2005, 19:32 Post subject:
|
|
very possible. I don;t have Slackware, But I can try it on VectorLinux next week when I am back
Alienx wrote: | can I use this script to remaster a live-cd from one Slackware or Vector hd installation ? |
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Wed 20 Jul 2005, 16:41 Post subject:
|
|
a questition to the script: What does /mnt/image means und where should it be (on data, in mnt? I tried it with puppy 1.0.4 and i became the message "no space left on device". So nothing happens. vabene
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Fri 22 Jul 2005, 15:37 Post subject:
|
|
/mnt/image is just a mount point for a loop device to mount image file, which is in /mnt/data/stage/, so "no space left on device" may very well be /mnt/data/stage, not /mnt/image. IF that is not the case, then file /mnt/data/stage/image has failed to mount to /mnt/image
as I mentioned, it is self-used script, no error-checking. you could a few pauses to make sure critical steps are OK
Anonymous wrote: | a questition to the script: What does /mnt/image means und where should it be (on data, in mnt? I tried it with puppy 1.0.4 and i became the message "no space left on device". So nothing happens. vabene |
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Fri 22 Jul 2005, 17:51 Post subject:
|
|
ok, i did it that way, but i got a lot of errors like could not create directory /mnt/image/root0/.dillo (nospace left on device) oder could not create ramdisksize .... /etc/fstab and so on. When i break the script i see in /mnt/image the directories tha whre build.
when i let it run til end i got errors and an iso-File. But it could not be the whole HD-Puppy i am using. II should be about 86 MB, myPuppy.iso has 70 MB.
Does your script put in all files from /root/my-applications and /root/my-documents? Or should i put the programs in /etc/ /usr and so on directly?
Thanx vabene
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Mon 25 Jul 2005, 09:56 Post subject:
|
|
let me take a wild guess without seeing what it going on
you have installed many packages in /root/* and it is bigger than 20MB (du -k /root), which is about ramdisk size I put in. you can try to use bigger ramdisk_size, the first variable in the script, to something like RAMDISKSIZE=40960.
basically, if you break about link 107, before making image.gz, and check /mnt/image (df -k |grep image), you will see ramdisk used, make sure your RAMDISKSIZE is bigger than that.
Thanks
Anonymous wrote: | ok, i did it that way, but i got a lot of errors like could not create directory /mnt/image/root0/.dillo (nospace left on device) oder could not create ramdisksize .... /etc/fstab and so on. When i break the script i see in /mnt/image the directories tha whre build.
when i let it run til end i got errors and an iso-File. But it could not be the whole HD-Puppy i am using. II should be about 86 MB, myPuppy.iso has 70 MB.
Does your script put in all files from /root/my-applications and /root/my-documents? Or should i put the programs in /etc/ /usr and so on directly?
Thanx vabene |
|
Back to top
|
|
 |
kirk
Guest
|
Posted: Tue 09 Aug 2005, 15:19 Post subject:
|
|
drj,
Your script works nice, the only problem I have is when I use the live-cd in another computer, when booting it looks for the pup101 file to be on a particular partition and Sometimes that partition doesn't exest. If it's not there it displays the red message about not being able to save stuff. Do you know of a work-around for this?
thanks
|
Back to top
|
|
 |
drj
Joined: 26 Jun 2005 Posts: 41
|
Posted: Wed 10 Aug 2005, 09:36 Post subject:
|
|
It is a designed feature, not bug :>
If you are comfortable with bash scripting, you can remodify /etc/rc.d/rc.sysinit and comment it out.
kirk wrote: | drj,
Your script works nice, the only problem I have is when I use the live-cd in another computer, when booting it looks for the pup101 file to be on a particular partition and Sometimes that partition doesn't exest. If it's not there it displays the red message about not being able to save stuff. Do you know of a work-around for this?
thanks |
|
Back to top
|
|
 |
gliezl

Joined: 06 Aug 2005 Posts: 322 Location: Manila
|
Posted: Sat 13 Aug 2005, 21:56 Post subject:
|
|
does this one work with Puppy 1.0.4?
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5472 Location: Australia
|
Posted: Mon 15 Aug 2005, 11:24 Post subject:
|
|
Thanks drj,
Once I made RAMDISKSIZE=40960 as you suggested, your script works with my 1.0.4 HD install.
Now that the compressed files have been created, I want to boot Puppy from these files located on my hard drive, like an Option 1 HD install.
Lilo boots the image.gz file just fine, but then usr_cramfs can't be located, so I can only get to the commandline.
Here is the relevant section in my lilo.conf -
image=/bootpup/vmlinuz
root=/dev/ram0
label="PuppyRAM"
initrd=/bootpup/image.gz
append="acpi=off PFILE=no ramdisk_size=40960"
read-only
Notice that I need to append "ramdisk_size=40960", and I prefer to not use a pupfile.
I have succeeded in booting this way before, but only with a PuppyUnleashed version which has a large image.gz and NO usr_cramfs.
So ... would it be possible to modify your script so that like PuppyUnleashed's "createpuppy" script it creates a large image.gz without usr_cramfs?
Or ... is it easy to change something in the startup sequence so that usr_cramfs can be found?
And something interesting to note - the first time I used your script I got one error message about not being able to access "/sbin/init_ORIG". My hard drive installation does not contain this file, nor does the PuppyUnleashed CD from which it was installed, but the "stock" Puppy1.0.4 does contain this file. I copied this file across to my hard drive install, re-ran your script and then there were no error messages. But the end result seemed no different.
Craig S
|
Back to top
|
|
 |
|
Page 1 of 2 [16 Posts] |
Goto page: 1, 2 Next |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|