Philip Prindeville wrote:
> Kristian Kielhofner wrote:
>   
>> On 9/19/07, Philip Prindeville <[EMAIL PROTECTED]> wrote:
>>   
>>     
>>> I'm using grub, and as I said, my development (Linux) machine is remote
>>> (so I can't burn the flash directly).
>>>
>>> I'm wondering if I can boot the net5501 box from a FreeDOS CD and then
>>> use utilities on that to burn the Flash, or if there's a Linux liveCD I
>>> could boot from and use that.
>>>
>>> Has anyone tried to use the serial port to bootstrap the box via an
>>> Xmodem download to flash?
>>>
>>> -Philip
>>>
>>>     
>>>       
>> Phillip,
>>
>>   Last I checked you wanted to use GRUB...  Stay with that and use
>> makeimage.sh to make  an image that you can transfer off your build
>> machine and burn locally.
>>
>>
>>   
>>     
>
> Hmmm....  Not working:
>
> % sudo -x ./makeimage.sh 64
> ...
> Using default value 1
> Last cylinder or +size or +sizeM or +sizeK (1-130, default 130):
> Using default value 130
>
> Command (m for help): w
> The partition table has been altered!
>
> Calling ioctl() to re-read partition table.
>
> WARNING: Re-reading the partition table failed with error 22: Invalid 
> argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
> Syncing disks.
> + losetup -d /dev/loop0
> + ln -sf /dev/loop0 /dev/loop
> + losetup /dev/loop0 disk.img
> + losetup -o 32256 /dev/loop1 disk.img
> ioctl: LOOP_SET_FD: Device or resource busy
> + mke2fs -O sparse_super -L ASTROOT -m0 -q /dev/loop1
> /dev/loop1 is mounted; will not make a filesystem here!
> + mkdir -p /mnt/image
> + mount -t ext2 /dev/loop1 /mnt/image
> mount: /dev/loop1 already mounted or /mnt/image busy
> mount: according to mtab, /dev/loop1 is already mounted on /mnt/image
> + cp -a build_i586/root/bin build_i586/root/boot build_i586/root/dev 
> build_i586/root/etc build_i586/root/home build_i586/root/lib 
> build_i586/root/lost+found build_i586/root/mnt build_i586/root/oldroot 
> build_i586/root/opt build_i586/root/proc build_i586/root/root 
> build_i586/root/sbin build_i586/root/stat build_i586/root/sys 
> build_i586/root/tftpboot build_i586/root/tmp build_i586/root/usr 
> build_i586/root/var /mnt/image/
> cp: cannot create regular file `/mnt/image/dev/hdd': No such device or address
> cp: cannot create regular file `/mnt/image/dev/hdd4': No such device or 
> address
> cp: cannot create regular file `/mnt/image/dev/hdd12': No such device or 
> address
> cp: cannot create regular file `/mnt/image/dev/sdd9': No medium found
> ...
>   

Also, could sfdisk be used instead of fdisk?  That way, the disk 
geometry can be passed in as command line args...

-Philip


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to