[Voyage-linux] Voyage linux on USB flash drive
Lee Woldanski
(spam-protected)
Fri Nov 11 02:21:51 HKT 2011
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).
Get yourself some kernel source, and use the Voyage kernel config as a
starting point to customize your own kernel.
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.
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.
You can use the .img with dd or physdiskwrite to write it directly to
a USB stick.
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.
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
>
--
Lee Woldanski, AScT
VE7FET
More information about the Voyage-linux
mailing list