Unattended booting with live CD entirely in RAM
Unattended booting with live CD entirely in RAM
I'm using 106 live CD entirely in RAM. I want puppy to get to the desktop unattended. How can I remaster puppy so that it boots without stopping to ask for a place to store personal files?
If you used multisession puppy (provided all computers had CD burners) your settings could be saved to the CD every time you shut down, and Puppy wouldn't need to ask you anything at boot. Just set it to some settings that almost all computers will have (i.e.- 1024x768 resolution, etc.). Or you could save the settings to a USB drive.
One of the trickier parts is knowing if the computers you work on will use USB or PS/2 mice. Barry is working on getting Puppy to figure that out itself, but if you leave it set to one, and need to use the other, you're kidna stuck.
One of the trickier parts is knowing if the computers you work on will use USB or PS/2 mice. Barry is working on getting Puppy to figure that out itself, but if you leave it set to one, and need to use the other, you're kidna stuck.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
You'll have to remaster to get it to auto-boot in option 4. It's actually very simple to do this.
First, you'll need to either mount the cd to /mnt/cdrom or the ISO that you downloaded to /mnt/cdrom. To mount a cd, just run MUT (the icon that says "drives" on the desktop) with your cd in the drive. Click "mount" on the cd section, then close the window it pops up in /mnt/cdrom. If you use an ISO file, type the following in a terminal, substituting PATH.iso with the path and name of the iso, such as /mnt/home/puppy-1.0.8-mozilla.iso.
Okay, now that it's mounted, run
Now the contents of the cd are in /tmp/iso. Go in there and open the file isolinux.cfg. Where it says "default 1" change the "1" to "4". Save the file. Now go to a terminal and run the following
That will make an iso file in /root called puppy.iso, that you can burn to a cd. It will default to option 4 rather than option 1.
You can also change the timeout if you want it to wait longer (or not so long). They are in tenths of a second, so 100 = ten seconds.
First, you'll need to either mount the cd to /mnt/cdrom or the ISO that you downloaded to /mnt/cdrom. To mount a cd, just run MUT (the icon that says "drives" on the desktop) with your cd in the drive. Click "mount" on the cd section, then close the window it pops up in /mnt/cdrom. If you use an ISO file, type the following in a terminal, substituting PATH.iso with the path and name of the iso, such as /mnt/home/puppy-1.0.8-mozilla.iso.
Code: Select all
mount -t iso9660 PATH.iso /mnt/cdrom -o loop
Code: Select all
mkdir /tmp/iso
cp /mnt/cdrom/* /tmp/iso/
umount /mnt/cdrom
Code: Select all
mkisofs -o /root/puppy.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /tmp/iso/
You can also change the timeout if you want it to wait longer (or not so long). They are in tenths of a second, so 100 = ten seconds.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Thanks Pizzasgood. And Brian C, and Flash. The dilogue above made me understand my own question better. I worked out a slightly different method and I'm running it now.
I looked in the remaster script for the guidance on editing isolinux.cfg which suggests that a new option (no. 4) with no PHOME, PFILE or PSLEEP wouldn't try to mount a drive for personal/ swap files.
In your solution do you have no option 4 at all?
I looked in the remaster script for the guidance on editing isolinux.cfg which suggests that a new option (no. 4) with no PHOME, PFILE or PSLEEP wouldn't try to mount a drive for personal/ swap files.
In your solution do you have no option 4 at all?
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Sorry, but I'm afraid I don't understand what you mean.In your solution do you have no option 4 at all?
My solution makes Puppy use option 4 by default, so you can just hit enter when the boot menu appears, OR let it time out and boot. That way, if it's unattended it would boot without the harddrive. You can make it skip the menu entirely, but I don't know if you want it to do that. You just take out the prompt part, the default part, the lables, the content for the other lables (except 4), and the timeout. There might be more, I'm going by memory at the moment.
Sorry I didn't quite comprehend your question. I'll be back after supper, and maybe then it will click.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Isolinux.cfg in my remastered 106 did not have a menu item or label or any assignment code for option 4. I'm pretty sure that's how 106 was when I downloaded it. There was all the necessary terms (I think) for 1, 2, 3 and 5. 4 is completely absent.
That is until I added an option 4 without the 3 P assignments and all is well.
That is until I added an option 4 without the 3 P assignments and all is well.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA