Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (85) </ ... 72 73 74 75 76 [77] 78 79 80 81 82 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ReMastering HOWTO for DSL, Also for newbies and other enthusiasts< Next Oldest | Next Newest >
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: May 23 2007,20:20 QUOTE

Has anyone tried to create a remaster CD that does an automatic installation?

I would like to make a CD that I can just put in the computer, reboot, and the CD will format the harddrive and install dsl without needing any user interface (other than putting in the CD).

I have looked through this thread and found it very useful, I have used the howto on page 56 to do remasters of 3.1, 3.2 and 3.3. But I haven't come across anything with automatic installations.

Any advice would be appreciated

Thanks
Rob
Back to top
Profile PM 
un-master Offline





Group: Members
Posts: 19
Joined: April 2007
Posted: May 23 2007,23:11 QUOTE

I think you could just edit /boot/grub/menu.1st and make the default entry 'dsl 2' (I'm away from it right now, I cannot look at what it's exactly called). Then perhaps just append         install     to it, and that might be enough.

You will still have to answer the questions about what HD partition to use, etc because that can be very different from machine to machine.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 24 2007,01:35 QUOTE

That would be menu.lst ... and "dsl 2" only boots to runlevel 2, I think you meant 'install' for the menu.

If you really wanted to have things do it automatically, it's just easier to have a backup.tar.gz (or your own) that restores bootlocal.sh (which will contain all of your commands).  Then have it reboot after or something.

But this will really only work if you plan on auto deleting and using any hard drives you see...
Back to top
Profile PM 
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: May 24 2007,14:54 QUOTE

Thanks you for the replies.

I edited the menu.lst to boot with the "install" command on startup and I edited the frugal_grub.sh so the user input is commented out and declared within the script instead.

This remaster would only be used on a specific system (well, multiple ones but they are identical) and will be installed on compact flash drives, so I would like to minimize the amount of writes for the install and the time for installation since I will be installing it onto around 70 systems.

I like the idea of calling the frugal_grub.sh from a bootlocal.sh that was loaded from a backup, that would be a quick way to handle it.

The biggest problem that I am running into now is partitioning the drive. I will have to read more on fdisk and cfdisk to see what I can do about it.

Any suggestions are welcome.

Thanks
Rob
Back to top
Profile PM 
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: May 30 2007,22:02 QUOTE

I got my remaster to auto-install on boot. I ended up creating my own boot code using this thread from beakmyn. Then I edited the menu.lst for the CD to use the bootcode I created. The boot code just runs the installation script that I added to the / directory of the CD. The script formats, partitions, installs dsl, and installs my misc. files. I used the frugal_grub.sh script and declared the necessary variables in the beginning of the script and added the other commands needed for formatting and partitioning and installing my other files.

I ended up using parted to perform the format and partitions since it was quite a bit easier to use and can be completely ran from the command line and is rather small. So the parted.dsl was included in this remaster.

These changes were made after all the .dsl modules were installed to the remaster source. The remaster guide that was used is found here on Page 56 of this thread by meo and DSL v3.3 was used.

Other modules included were:
XFree86
cups
gnu-utils
gtk2-0705
setserial
xine

Also many packages that I did not need were removed using this thread from mikshaw.

I hope this post is useful to someone.

Thank you for the help  :)
Rob
Back to top
Profile PM 
422 replies since April 14 2004,19:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (85) </ ... 72 73 74 75 76 [77] 78 79 80 81 82 ... >/
reply to topic new topic new poll
Quick Reply: ReMastering HOWTO for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code