[Voyage-linux] Voyage linux on USB flash drive
George
(spam-protected)
Fri Nov 11 05:52:20 HKT 2011
Thanks for your help. I'll take your advice tomorrow when back to work.
Some comments to your advices below.
On 10/11/2011 19:21, Lee Woldanski wrote:
> Hi Jorge,
>
> Sounds like you are going down a road that I have already traveled.
>
> I would download the SDK, install it, and set up the build environment
> to let you "rebuild" the distribution images (live build scripts).
I have followed the step in
http://linux.voyage.hk/content/getting-started-live-cd-v08x
and installed it on a hard drive (my virtual machine).
> Get yourself some kernel source, and use the Voyage kernel config as a
> starting point to customize your own kernel.
Do you mean a vanilla kernel and apply the patch from:
http://mirror.voyage.hk/download/kernel_patch/2.6/kernel-patch-3.0.0-voyage_10.0-1.patch.gz
My option was working directly with the sources from voyage. I've
downloaded the kernel source debian package from the voyage site:
http://mirror.voyage.hk/dists/0.8/linux/linux-source-3.0.0-voyage_10.0-1_all.deb
And the config file from:
http://mirror.voyage.hk/download/kernel_config/config-3.0.0-voyage_10.0-1
After installing the source and copying the config file, I modify the
config to fit my requirements:
# make menuconfig
# make-kpkg --revision="3.0custom" --append-to-version "-jlanza-voyage"
kernel-image
Should I put also the --initrd option?
> You are also going to probably need to patch the kernel source to
> support aufs in order for the Debian Live stuff to work properly.
I thought that if taking the config from voyage directly that option
should be included. Will look at it.
> If that all works, you should be able to use your generated kernel
> .deb for the kernel used when re-building the distro.
>
> Finally, it should just be a matter of running "./build.sh img" which
> will build you the distro image.
What should I modify to get my own kernel? I'm newbie to debian-live.
> You can use the .img with dd or physdiskwrite to write it directly to
> a USB stick.
That seems easy... but I think it would not be such a thing ;)
If you have a mini-howto with the command I would really be grateful.
Anyway I will try and try cause I have to have it done ;)
> Then you will have the equivalent of a CD-R Live CD on a USB stick.
> You can boot from that stick and use it like you would use the Live
> CD, including using the installer scripts to install your customized
> build on a machine.
>
> I have gone through this whole process a few times now to build myself
> a custom Amateur Radio tailored installation (based on 0.7.5
> currently). I can give you some more help off-line if you like.
Thanks a lot again.
>
> Cheers!
>
>
> Lee
>
> On Thu, Nov 10, 2011 at 3:10 AM, George<george.news at gmx.net> wrote:
>> Hi,
>>
>> Have tried the installation on USB stick following the info in
>> http://linux.voyage.hk/content/getting-started-live-cd-v08x
>>
>> And no luck at all.
>>
>> I'm just wondering if anybody has been able to install Voyage on a USB and
>> boot a laptop or PC with it :(
>>
>> Any help is more than welcome.
>> Jorge
>>
>>
>> On 10/11/2011 11:02, George wrote:
>>>
>>> No I haven't because I want to customize the kernel for including some
>>> communication aspects that are not included.
>>>
>>> See you
>>> Jorge
>>>
>>>
>>> On 10/11/2011 10:56, Kim-man 'Punky' TSE wrote:
>>>>
>>>> Hi George,
>>>>
>>>> Have you try burn the iso image directly to the USB flash drive? The iso
>>>> is generated using hybrid iso that this way is supposed to work.... But
>>>> I have not tried yet.... so I need a helper for that.
>>>>
>>>> Regards,
>>>> Punky
>>>>
>>>>
>>>> On 11/10/2011 5:50 PM, George wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I want to install voyage on an usb and run my laptop with voyage.
>>>>>
>>>>> I've been following your howto on Voyage Linux on a USB flash drive
>>>>> but I haven't been successful to boot my laptop using the USB with
>>>>> Voyage Linux.
>>>>>
>>>>> Following this link I have generated the kernel debian package setting
>>>>> the options for USB to "y"
>>>>>
>>>>> # CONCURRENCY_LEVEL=3 DEB_HOST_ARCH=i386 ARCH=i386 make-kpkg --arch
>>>>> i386 --cross-compile - --revision="3.0usb" --append-to-version
>>>>> "-486-voyage" --initrd kernel-image
>>>>>
>>>>> I'm using ubuntu 10.04 as the build system.
>>>>>
>>>>> Then I have chroot in the voyage-0.8.0 directory to install the new
>>>>> kernel. But I've got the following error a the end of the installation:
>>>>> --------
>>>>> Examining /etc/kernel/postinst.d.
>>>>> run-parts: executing /etc/kernel/postinst.d/initramfs-tools
>>>>> 3.0.0-486-voyage /boot/vmlinuz-3.0.0-486-voyage
>>>>> update-initramfs: Generating /boot/initrd.img-3.0.0-486-voyage
>>>>> df: Warning: cannot read table of mounted file systems: No such file
>>>>> or directory
>>>>> warning: can't open /etc/mtab: No such file or directory
>>>>> warning: can't open /etc/mtab: No such file or directory
>>>>> run-parts: executing /etc/kernel/postinst.d/symlink_hook
>>>>> 3.0.0-486-voyage /boot/vmlinuz-3.0.0-486-voyage
>>>>> run-parts: executing /etc/kernel/postinst.d/zz-update-grub
>>>>> 3.0.0-486-voyage /boot/vmlinuz-3.0.0-486-voyage
>>>>> Searching for GRUB installation directory ... found: /boot/grub
>>>>> run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return
>>>>> code 1
>>>>> Failed to process /etc/kernel/postinst.d at
>>>>> /var/lib/dpkg/info/linux-image-3.0.0-486-voyage.postinst line 341.
>>>>> dpkg: error processing linux-image-3.0.0-486-voyage (--install):
>>>>> subprocess installed post-installation script returned error exit
>>>>> status 2
>>>>> Errors were encountered while processing:
>>>>> linux-image-3.0.0-486-voyage
>>>>> --------
>>>>>
>>>>>
>>>>> Could you give me any advice that can help me out?
>>>>>
>>>>> Thanks
>>>>> Jorge
>>>>>
>>>>> _______________________________________________
>>>>> Voyage-linux mailing list
>>>>> Voyage-linux at list.voyage.hk
>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>>>
>>>
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
>
>
More information about the Voyage-linux
mailing list