[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with /scripts/persisten in persistent mode



Greetings,

On Thu, Sep 9, 2010 at 2:57 PM, Adrián Orellana <adrian03410@gmail.com> wrote:
> Hi,
> Because it take a long time to completely rebuild the image, I want to ask
> you about the option:
> -r live.debian.net
> because I really want a stand alone working system, not a netboot.
> Could you please explain that option to me in order to understand its
> meaning?

Well the recommending -r l.d.n may have not been the correct suggestion.

See http://live.debian.net/project/status/

So lets just go with a clean build directory. Also you could build
your image at the live-build.debian.net

> Thank you,
> Adrian
>
> 2010/9/9 Richard Nelson <unixabg@gmail.com>
>>
>> Greetings,
>>
>> On Thu, Sep 9, 2010 at 2:35 PM, Adrián Orellana <adrian03410@gmail.com>
>> wrote:
>> > Hi,
>> > I followed your instructions but I can not get a binary image
>> > constructed.
>> >
>> > I did (notice the underscores are no longer used in the lh commands):
>> > lh clean --purge
>> >
>> > lh config --apt apt --apt-recommends enabled --architecture amd64
>> > --binary-images usb-hdd --binary-filesystem fat32 --language es
>> > --bootappend-live "boot=persistent locale=es_AR.UTF-8 keyb=es"
>> > --packages
>> > "gnome gcc gparted linux-headers-2.6-${LH_LINUX_FLAVOURS} make rsync"
>> > --syslinux-timeout 5 --source enabled --username adrian --hostname
>> > imgPro
>> >
>> > lh build
>> >
>> > I actually saved the previous commands in one script and redirected the
>> > output to a file
>> >
>> > the console output was:
>> >
>> > Extracting templates from packages: 100%
>> > cryptsetup: WARNING: could not determine root device from /etc/fstab
>> > WARNING: (loop-aes) Could not determine root device. Skipping
>> >  Encryption type disabled not supported.
>> >
>> > And the file with the redirected output is attached to this mail because
>> > is
>> > long ("buildScriptOut.txt").
>> >
>> > I hope the information can tell you what should I do.
>> >
>>
>> Just to be safe can you start from scratch and build in a new
>> directory, if not already, and since it looks like you are building
>> lenny image I think on the lh config line you should include the
>> param:
>>
>> -r live.debian.net
>>
>>
>> > Thanks again,
>> >
>> > Adrian
>> >
>> >
>> > 2010/9/8 Richard Nelson <unixabg@gmail.com>
>> >>
>> >> Greetings,
>> >>
>> >> On Wed, Sep 8, 2010 at 4:35 PM, Adrián Orellana <adrian03410@gmail.com>
>> >> wrote:
>> >> > Hello, Richard,
>> >> >
>> >> > Trying to follow your directions:
>> >> > I downloaded:
>> >> > debian-live-60alpha2-amd64-standard.iso
>> >> >
>> >> > and installed in the pen drive with unetbootin from
>> >> >
>> >> >
>> >> >
>> >> > http://sourceforge.net/projects/unetbootin/files/UNetbootin/471/unetbootin-linux-471/download
>> >> >
>> >>
>> >> I do not know of the above. I only know about dd if=  of= to put on
>> >> usb drive. I have not used one of the hybrid images but I suspect
>> >> something like:
>> >>
>> >> dd if=debian-live-60alpha2-amd64-standard.iso of=/dev/sd(X)  where (X)
>> >> is the reference to your pen drive.
>> >>
>> >> But if you have it booted lets move on.
>> >>
>> >> >
>> >> > Then, when I try to apt-get install live-helper, I got the following
>> >> > messages:
>> >> > Err http://cdn.debian.net squeeze/main gettext-base 0.17-11
>> >> >  404 not found [64.50.236.52 80]
>> >> >
>> >> > Err http://cdn.debian.net squeeze/main libparted0debian1 2.3-1
>> >> >  404 not found [64.50.236.52 80]
>> >> > Err http://cdn.debian.net squeeze/main live-helper 2.0~a14-1
>> >> >
>> >> >  404 not found [64.50.236.52 80]
>> >> > Failed to fetch
>> >> >
>> >> >
>> >> > http://cdn.debian.net/debian/pool/main/g/gettext/gettext-base_0.17-11_amd64.deb
>> >> > 404 not found [64.50.236.52 80]
>> >> >
>> >> > Failed to fetch
>> >> >
>> >> >
>> >> > http://cdn.debian.net/debian/pool/main/p/parted/libparted0debian1_2.3-1_amd64.deb
>> >> > 404 not found [64.50.236.52 80]
>> >> >
>> >> > Failed to fetch
>> >> >
>> >> >
>> >> > http://cdn.debian.net/debian/pool/main/l/live-helper/live-helper_2.0~a14-1_all.deb
>> >> > 404 not found [64.50.236.52 80]
>> >> >
>> >> > Unable to fetch some archives, maybe run apt-get update or try with
>> >> > --fix-missing?
>> >> >
>> >> > I checked the URL with ping and it was ok. Then I tried again and I I
>> >> > got
>> >> > the same messages with another URL.
>> >> >
>> >> > With the other version I used previously, the apt-get install
>> >> > live-helper
>> >> > was working fine.
>> >> >
>> >> >
>> >> > Could you please give me an advise?
>> >>
>> >> Try these steps as root:
>> >>
>> >> apt-get update
>> >>
>> >> apt-get install live-build
>> >>
>> >> >
>> >> > Thank you in advance,
>> >>
>> >> Welcome.
>> >>
>> >> >
>> >> > Adrian
>> >> >
>> >> >
>> >> > 2010/9/8 Adrián Orellana <adrian03410@gmail.com>
>> >> >>
>> >> >> Hi Richard,
>> >> >> I was taking a look at the link you provided:
>> >> >>
>> >> >>
>> >> >> http://cdimage.debian.org/cdimage/squeeze_live_alpha2/amd64/iso-hybrid/
>> >> >>
>> >> >> and I don't see any .img image in order to copy it directly to the
>> >> >> pendrive.
>> >> >>
>> >> >> Could you please instruct me about the procedure I should follow to
>> >> >> install the iso image into the pendrive?
>> >> >>
>> >> >> Thank you again,
>> >> >> Adrian
>> >> >>
>> >> >> 2010/9/7 Richard Nelson <unixabg@gmail.com>
>> >> >>>
>> >> >>> Greetings,
>> >> >>>
>> >> >>> On Tue, Sep 7, 2010 at 3:05 PM, Adrián Orellana
>> >> >>> <adrian03410@gmail.com>
>> >> >>> wrote:
>> >> >>> > Hi,
>> >> >>> >
>> >> >>> > I was trying to complete all the information you asked to me.
>> >> >>> >
>> >> >>> > If I misunderstood something, please tell me to do it right.
>> >> >>> >
>> >> >>> >
>> >> >>> > 2010/9/1 Richard Nelson <unixabg@gmail.com>
>> >> >>> >>
>> >> >>> >> Greetings,
>> >> >>> >>
>> >> >>> >> On Wed, Sep 1, 2010 at 3:00 PM, Adrián Orellana
>> >> >>> >> <adrian03410@gmail.com>
>> >> >>> >> wrote:
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > Hi Richard,
>> >> >>> >> > Thank you for your quick answer.
>> >> >>> >> >
>> >> >>> >> > The lh_build I used is the last one available, as I was trying
>> >> >>> >> > to
>> >> >>> >> > create
>> >> >>> >> > an
>> >> >>> >> > amd64 OS in a machine that has lenny -i386, then I started the
>> >> >>> >> > PC
>> >> >>> >> > with a
>> >> >>> >> > live amd64 usb-key (I downloaded the binary from the site
>> >> >>> >> > already
>> >> >>> >> > prepared)
>> >> >>> >>
>> >> >>> >> Can you paste the link you used?
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > http://cdimage.debian.org/cdimage/release/current-live/amd64/usb-hdd/debian-live-505-amd64-standard.img
>> >> >>> >
>> >> >>> >   when I boot with that version, the boot messages include:
>> >> >>> > ...
>> >> >>> > Linux debian 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010
>> >> >>> > x86_64
>> >> >>> > ....
>> >> >>> >
>> >> >>>
>> >> >>>
>> >> >>> Try an image from here:
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> http://cdimage.debian.org/cdimage/squeeze_live_alpha2/amd64/iso-hybrid/
>> >> >>>
>> >> >>> >>
>> >> >>> >> > in console mode, then, working on an amd64 system, I did:
>> >> >>> >> > #sudo apt-get install live-helper
>> >> >>> >> > and after that made the config and build already described.
>> >> >>> >> > The console mode OS isn't persistent, then I don't have the
>> >> >>> >> > precise
>> >> >>> >> > reference to the version of lh_build, but I constructed it the
>> >> >>> >> > day
>> >> >>> >> > before
>> >> >>> >> > yesterday.
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >> Booted with the live image that you are attempting to do a,
>> >> >>> >>  lh
>> >> >>> >> build           command can you paste back the results of the
>> >> >>> >> command:
>> >> >>> >>
>> >> >>> >> lh -v
>> >> >>> >
>> >> >>> > I rebooted my desktop and, after reinstalling live-helper, I did
>> >> >>> > the
>> >> >>> > lh
>> >> >>> > -v
>> >> >>> > (then, if any modification was introduced in the repository, the
>> >> >>> > present
>> >> >>> > live-helper tools are not going to be the same than I used a few
>> >> >>> > days
>> >> >>> > ago).
>> >> >>> > Anyway the commands and their outputs, hand copied, because I was
>> >> >>> > working in
>> >> >>> > console only mode, as I told you before:
>> >> >>> >
>> >> >>> > #apt-get install live-helper
>> >> >>> > ...
>> >> >>> > unpacking from live-helper_1.0.3-2_all.deb
>> >> >>> > ...
>> >> >>> >
>> >> >>>
>> >> >>> Please try the latest from squeeze with a download image from above
>> >> >>> and then as root install live-build:
>> >> >>>
>> >> >>> apt-get install live-build
>> >> >>>
>> >> >>> Then try to build your image again.
>> >> >>>
>> >> >>> Please report back if this helps.
>> >> >>>
>> >> >>> >
>> >> >>> > #lh -v
>> >> >>> > lh-version 1.0.3-2
>> >> >>> > This program is a part of live-helper
>> >> >>> >
>> >> >>> > Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
>> >> >>> >
>> >> >>> > This program is...
>> >> >>> > ...
>> >> >>> > Homepage: <http://debian-live.allioth.debian.org/>
>> >> >>> >
>> >> >>> > Thanks again,
>> >> >>> > Adrian
>> >> >>> >>
>> >> >>> >> > Unfortunately your suggestion didn't work (creating an ext2
>> >> >>> >> > partition
>> >> >>> >> > labeled live-rw instead of a fat32 one).
>> >> >>> >> > I guess I'm missing something in the basic procedure, because
>> >> >>> >> > the
>> >> >>> >> > error
>> >> >>> >> > message talk about "can't open  /scripts/persistent".
>> >> >>> >> > Where or how should I check for that script?
>> >> >>> >>
>> >> >>> >> Let us get some more details from above to know for sure which
>> >> >>> >> version
>> >> >>> >> of tools and OS build version.
>> >> >>> >>
>> >> >>> >> >
>> >> >>> >> > Thank you for your time, I appreciate that,
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >> Sure and no worries.
>> >> >>> >>
>> >> >>> >> > Adrian
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > 2010/8/31 Richard Nelson <unixabg@gmail.com>
>> >> >>> >> >>
>> >> >>> >> >> Greetings,
>> >> >>> >> >>
>> >> >>> >> >> On Tue, Aug 31, 2010 at 6:00 PM, Adrián Orellana
>> >> >>> >> >> <adrian03410@gmail.com>
>> >> >>> >> >> wrote:
>> >> >>> >> >> > Hi,
>> >> >>> >> >> > I constructed a debian-live with:
>> >> >>> >> >> >
>> >> >>> >> >> > lh_config --apt apt --apt-recommends enabled --architecture
>> >> >>> >> >> > amd64
>> >> >>> >> >> > --binary-images usb-hdd --language es
>> >> >>> >> >> > --bootappend-live "boot=persistent locale=es_AR.UTF-8
>> >> >>> >> >> > keyb=es"
>> >> >>> >> >> > --packages "gnome gcc gparted
>> >> >>> >> >> > linux-headers-2.6-${LH_LINUX_FLAVOURS}
>> >> >>> >> >> > make rsync wireless-tools"
>> >> >>> >> >> > --syslinux-timeout 5 --source enabled --username adrian
>> >> >>> >> >> > --hostname
>> >> >>> >> >> > imgPro
>> >> >>> >> >> >
>> >> >>> >> >> > lh_build
>> >> >>> >> >> >
>> >> >>> >> >> > Then I created on the same usb key a partition labeled
>> >> >>> >> >> > live-rw
>> >> >>> >> >> > (fat
>> >> >>> >> >> > 32)
>> >> >>> >> >>
>> >> >>> >> >> Can you try with an ext2 file system? I ask since the last
>> >> >>> >> >> time
>> >> >>> >> >> I
>> >> >>> >> >> used
>> >> >>> >> >> persistence, I used ext2 and all was well.
>> >> >>> >> >>
>> >> >>> >> >> > When I try to boot, I have got:
>> >> >>> >> >> > Begin: Mounting root filesystem ... /init: .: line 171:
>> >> >>> >> >> > can't
>> >> >>> >> >> > open
>> >> >>> >> >> > /scripts/persistent
>> >> >>> >> >> > [    4.109925] Kernel panic - not syncing: Attemped to kill
>> >> >>> >> >> > init!
>> >> >>> >> >> >
>> >> >>> >> >> > I don't know if I should get some script copied into the
>> >> >>> >> >> > live-rw
>> >> >>> >> >> > partition?
>> >> >>> >> >> >
>> >> >>> >> >> > Thanks in advance,
>> >> >>> >> >> >
>> >> >>> >> >> > Adrian
>> >> >>> >> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Adrián Orellana
>> > cel desde el exterior de Argentina: +54 9 264 5 25 27 28
>> > cel desde Argentina: 0264 155 25 27 28
>> > Skype: adrianorellana
>> >
>
>
>
> --
> Adrián Orellana
> cel desde el exterior de Argentina: +54 9 264 5 25 27 28
> cel desde Argentina: 0264 155 25 27 28
> Skype: adrianorellana
>


Reply to: