Re: live usb customization
2009/10/19 Tzafrir Cohen <firstname.lastname@example.org>:
> On Mon, Oct 19, 2009 at 11:24:25AM +0400, Шварц Сергей Владимирович wrote:
>> Dear community
>> I've read the manual, but there are gaps regarding boot proccess
>> modification etc.
>> Basically I need to mount one partition automatically and start some
>> script from it with root id and poweroff when it exits.
> Sounds like you want to add an extra init.d script that will only be run
> on shutdown (maybe just make its 'start' operation do nothing, or fix
> links manually).
I have sdb1 partition as debian live system on my usb flash and second
partition sdb2 labeled ast-rw with ext3 fs.
Live system should mount LABEL=ast-rw to /ast-rw and start some script
instead of starting user session with bash. After this script system
should just shutdown without any promts. And I would like to turn off
dhcp client at boot.
> Is that good enough?
> Tzafrir Cohen
> icq#16849755 jabber:email@example.com
> +972-50-7952406 mailto:firstname.lastname@example.org
> http://www.xorcom.com iax:email@example.com/tzafrir
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
Шварц Сергей Владимирович.