[Voyage-linux] Alix 3d2 rescue system

Ernesto Sanchez (spam-protected)
Mon Dec 12 18:15:57 HKT 2011


Now i've this grub menu.lst:

serial --speed=38400
terminal serial

timeout 15
fallback 1
default 0

title USB restore
root (hd0,0)
kernel /boot/boot-usb/vmlinuz-2.6.38-voyage root=/dev/sda1 
console=ttyS0,38400n8
initrd /boot/boot-usb/initrd.img-2.6.38-voyage

title voyage-linux-15Apr10
root (hd0,0)
kernel /vmlinuz root=LABEL=ROOT_FS  console=ttyS0,38400n8
initrd /initrd.img

Unfortunately when you boot without the presence of the usb, starts a 
minimum shell, I think if at that point could generate a kernel panic 
would restart and grub would start the fallback.

What do you think?


El 02/12/11 16:39, Teco Boot escribió:
> You can boot from CF with grub&  kernel&  initrd&  NFS-server.
> With some luck, no console is needed.
> After booting, CF is free.
> On 0.8.0, I use the following lines in menu.lst:
>
> root    (hd0,0)
> kernel  /boot/vmlinuz-3.0.0-voyage boot=live netboot=nfs nfsroot=10.1.1.1:/home/voyage-0.8.0 live-getty noautologin console=ttyS0,9600n8
> initrd  /boot/initrd.img-3.0.0-voyage-live
>
> I use a copy of initrd from the 0.8.0 live image. Updating the tarball initrd is also an option, then the same initrd file can be used for normal operation and netboot. But first busybox (and others?) must be instaled and initrd be updated. Busybox is a little to big to include in tarball (Punky?).
>
> Teco
>
> Op 2 dec. 2011, om 15:44 heeft Punky Tse het volgende geschreven:
>
>> Hi Ernesto,
>>
>> Perhaps PXEBoot is your only option.
>>
>> Regards,
>> Punky
>>
>> On 12/2/2011 7:48 PM, Ernesto Sanchez wrote:
>>> I'm trying to make a rescue system for Alix 3D2, the original idea is to boot from a usb-stick and restore the file system of the compact flash burn the image again. Unfortunately TinyBIOS not support booting from USB devices, so I'm trying to do it from the grub installed on compact flash, I thought it could use the fallback option of grub ever tried making usb boot first and then the compact flash the problem is that grub does not detect the usb-stick.
>>>
>>> I have also tried to copy the kernel and initrd to the compact fash keeping the root filesystem on / dev/sda1 and start correctly when the usb-stick is plugged in but not plugged when booting the kernel with a small shell saying no could not find the file system.
>>>
>>> Does anyone have any ideas or suggestions to implement this system?
>>>
>>> Thank you very much.
>>>
>>
>> -- 
>>
>> Regards,
>> Kim-man "Punky" Tse
>>
>> * Open Source Embedded Solutions and Systems
>>   - Voyage Linux (http://linux.voyage.hk)
>>   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
>>   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
>> * Voyage Store   (http://store.voyage.hk)
>>
>>
>> _______________________________________________
>> 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