Ha, ha --the funny part first:
... and btw, have you tried
making a second, FAT partition on the USB stick?
The San 2GB stick actually comes with 2 partitions:
1) 'U3' cruser (ca. 6MB) which emulates a CD so they can take advantage
of autorun stuff. (dd if=/dev/scsi/host4/bus0/target0/lun1/cd of=...)
2) was FAT16 (I think, before I reformatted)
U3 also shows up as 'CD' under linux, in addition to the data partition.
Now the funny part: where the printed HowTo talks about the system
requirements it says
"Windows 2000, XP (supports Linux)"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and not just in English, XP 'supports' Linux in all the other five languages
listed!
We'v come a long way :-)
I have tried to mount an ext3 partition that was not mounted by my host
OS. The man pages says ext3 is supported. Maybe I need to fiddle with the
(many) options in the startup script of qemu (there is a lot disabled).
As for traceroute and other network related stuff a clip from the 'script'
output follows (copy&paste from the shell I haven't figured out either)
- Horst
""" (through QEMU)
[EMAIL PROTECTED]:~$ traceroute --help
BusyBox v1.00 (2006.01.04-23:00+0000) multi-call binary
Usage: traceroute [-dnrv] [-m max_ttl] [-p port#] [-q nqueries]
[-s src_addr] [-t tos] [-w wait] host [data size]
<options listed>
[EMAIL PROTECTED]:~$ traceroute -n google.com
traceroute: can`t create raw socket: Operation not permitted
^^^^^^^^^^^^^^^^^^^^^^^
[EMAIL PROTECTED]:~$ which traceroute
/usr/bin/traceroute
[EMAIL PROTECTED]:~$ ls /usr/bin |wc -l
354 ((not bad!))
[EMAIL PROTECTED]:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7227 (7.0 KiB) TX bytes:3231 (3.1 KiB)
Interrupt:11 Base address:0xc100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)
[EMAIL PROTECTED]:~$ # above NIC listed is not the MAC my host OS sees --very
different
"""
I can't see/talk to 10.0.2.15 from my host system, nor does my router see
it in its LAN . I ran sshd (inside QEMU), and can ssh from inside sandbox
to sandbox... not too useful.
Date: Wed, 27 Dec 2006 08:12:08 -0800
From: Ben Barrett <[EMAIL PROTECTED]>
Reply-To: Eugene Unix and Gnu/Linux User Group <euglug@euglug.org>
To: Eugene Unix and Gnu/Linux User Group <euglug@euglug.org>
Subject: Re: [Eug-lug] DSL&QEMU on Scan 2GB USB stick
Do you know, ahead of time, what machines you'll be booting by USB on?
I'm guessing that is the biggest hurdle, as a lot of older hardware will not
boot USB without
some fancy preboot tricks, or maybe not at all...
AFAIK you can put things like traceroute on DSL... and btw, have you tried
making a second, FAT partition on the USB stick?
sounds like fun Horst,
Ben
On 12/27/06, horst <[EMAIL PROTECTED]> wrote:
I have been toying with DSL over the past couple days (Damn Small Linux,
'embedded' version 3.1, kernel 2.4.26), booted via syslinux 3.31,
installed on a 2GB FAT32-formatted San curser.
It's quiet impressive how much they fit into those 50 MB!
>From what I have tested so far the same QEMU sandbox behaved stable when
started from within Mandriva2006, Win2000, XP. Booting from the USB stick
directly was not always successful, nor reproducible --that's still an
ongoing research project, so I spare you the details.
Back to the QEMU sandbox: although it's nice to carry your data around on
a unix filesystem (and edit them wherever you go -- which I tested
wherever I went), I found the sandbox limitations a bit frustrating so
far: I was not able to mount any of the local file systems to the
sandbox... But, I want the power of a Knoppix Live-CD on a modifiable USB
key !!!). Going over the network often led to stalled connections (with
wget for their default upgrade procedure, and even over sftp when I put my
own server in the middle); digging deeper into issues often doesn't work
because of sandbox limitations, e.g. no traceroute allowed because 'raw
socket' required.
OK, enough bitching... maybe I am on the wrong track and someone on this
list has figured out a nice portable system, both USB-bootable and
some-sort-of-EMU support?
Yes, I am aware that Mandriva is offering a Live system on USB:
http://www.mandriva.com/en/individuals/products/node_3482
but thought it would but cool to build your own.
- Horst
_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug