Re: [leaf-devel] flash usb
Erich Titl wrote: The nice thing about Knoppix is the device autodetection, [...] This can be subsumed from Knoppix and adapted for use in LEAF if you want. It might be good sized, I don't know I _believe_ one could strip down Knoppix sufficiently to be of acceptable size for download, build a little code to generate the LEAF image. Then we would have one single distributable object which might satisfy most people. Knoppix has been stripped down and adapted innumerable times; the two that come to mind off hand is Darn Small Linux (no, I won't say it...) and Morphix... I would create a generic shell script that would work under LEAF, Knoppix, or whatever - then you can put it in where-ever you like, and use it to create the USB images --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Natanael Copa wrote: David Douthitt wrote: You are right. I guess it failed to mount the device where root.lrp were. I don't remember the exact kernel panic message but it was probably "trying to kill init" or something like that. That usually means that the initial process (#1) was trying to exit or was being killed off. If the startup process has problems, init usually exits, resulting in that message --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Mike Noyes wrote: On Mon, 2006-03-27 at 06:01, Erich Titl wrote: What about creating a Knoppix like CD (image) which allows the local creation of a bootable usb stick. This would allow to create any size image even for people without access to a _real_ linux system. Such a live CD system could even be used to fetch more packages over the net, making it real small. Erich, That sounds similar to the method DSL uses. Damn Small Linux http://www.damnsmalllinux.org/ http://www.google.com/search?q=site%3Adamnsmalllinux.org+usb So it's not too unreasonable :-) cheers Erich --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hi Jorn Jorn Eriksen wrote: Hey Eric & all, That is a good idea :-) I have an idea using the existing CD stuff and just, for the "Leafix" CD,automatically load the hdsupp.lrp (since this allready contain fdisk,syslinux and mkfs.msdos) as well as a new "usbsupp.lrp" package. OR we could change the current initrd_ide_cd to contain the need USB drivers. Then we just need to load the hdsupp.lrp package. The nice thing about Knoppix is the device autodetection, and the ease of use for non linux people, something which is difficult to achieve when you start with a LEAF distro. I _believe_ one could strip down Knoppix sufficiently to be of acceptable size for download, build a little code to generate the LEAF image. Then we would have one single distributable object which might satisfy most people. cheers Erich --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
David Douthitt wrote: > Natanael Copa wrote: >> FYI. I never got your stick.img to boot. First I got the same "no >> operating system" message as previously mentioned. After installing the >> syslinux mbr.bin on the stick it found the kernel and booted it up but >> ended with a kernel panic: >> "Can't open /var/lib/lrpkg/root.dev.own" > > That doesn't sound like a kernel panic; after all, wouldn't it be after > mounting /var and so on? If the kernel panicked, it would give a > different message, I'd think. You are right. I guess it failed to mount the device where root.lrp were. I don't remember the exact kernel panic message but it was probably "trying to kill init" or something like that. The problem wasn't the kernel panic but that it couldn't find root.dev.own. > If you want to debug it, just give the kernel a parameter of: > > init=/bin/sh > > and root about in the environment after booting... Thanks! I'll keep that in mind. I don't think I'll have the time to debug it. I just wanted to test. I was curious if it worked to distribute usb images. First thing failed was the missing dos mbr. (probaly because my bios require it and Jørn's bios does not?) Second thing was the "kernel panic" (which was not really a kernel panic problem but rather mounting the right device problem) If I'm gonna guess without really debug things, (blue sky) I would guess that the scsi subsystem detected my SATA disks and placed the usb device as /dev/sdc or something like that. If thats the case, then I would suggest that you scan the scsi bus and fond out what is disks and what is usb and create a symlink, in a similar way that you scan for the cdrom in MKBLKDEV: for file in /proc/ide/hd?/media /proc/scsi/scsi; do [ -r $file ] || continue while read line ; do case $line in *CD-ROM*|*cdrom*) CDDEV=${file#/proc/*/} CDDEV=${CDDEV%/media} [ "$CDDEV" = "scsi" ] && CDDEV=scd0 break 2 ;; esac done <$file done [ -n "$CDDEV" ] && ln -sf /dev/$CDDEV /dev/cdrom But again, I haven't really investigated it. It's just guessing... -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
On Mon, 2006-03-27 at 06:01, Erich Titl wrote: > What about creating a Knoppix like CD (image) which allows the local > creation of a bootable usb stick. This would allow to create any size > image even for people without access to a _real_ linux system. Such a > live CD system could even be used to fetch more packages over the net, > making it real small. Erich, That sounds similar to the method DSL uses. Damn Small Linux http://www.damnsmalllinux.org/ http://www.google.com/search?q=site%3Adamnsmalllinux.org+usb -- Mike Noyes http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
On Mon, 2006-03-27 at 02:03, KP Kirchdoerfer wrote: > Am Montag, 27. März 2006 11:56 schrieb Jorn Eriksen: > > Mike - can one just send you a plain text file with the content for such a > > section? > > Pls send it to me, I'll take care of it. Jorn, I see KP is attending to this. Thank you for your contribution. :-) -- Mike Noyes http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Natanael Copa wrote: FYI. I never got your stick.img to boot. First I got the same "no operating system" message as previously mentioned. After installing the syslinux mbr.bin on the stick it found the kernel and booted it up but ended with a kernel panic: "Can't open /var/lib/lrpkg/root.dev.own" That doesn't sound like a kernel panic; after all, wouldn't it be after mounting /var and so on? If the kernel panicked, it would give a different message, I'd think. If you want to debug it, just give the kernel a parameter of: init=/bin/sh and root about in the environment after booting... --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Jørn Eriksen wrote: > Eric & All, > > I think we sort of agree - it's just the way there we walk differetly :-) Agree about what? (sorry, I have given up to scroll up and down trying to follow what people are talking about when somebody top-post. I follow more than one mailing list...) http://google.com/search?q=top-posting+netiquette never mind... > I'll try to add the VFAT module to the initrd_u when I get back home. > Just to see how that work out. More for my own curiousity than anything > else. You might want to check out the ub usb driver as well. You don't need the scsi subsystem for using the ub driver so its smaller. According the documentation the ub driver might be slower but should work on more devices. > I've ordered a 256Mb Stick as well. When that stick arrive I'll also note > down the pysical geometry of all my sticks to see if the match up. If > they do, I'll go ahead and see if I can create an generic image for the > sticks. If that works OK I guess a "small" change to the create scripts > can fix it all. I don't really see the point in using images? Why not only copying all files over, run syslinux and reboot? When you are dealing with new USB sticks, that should be enough. They ship them partitioned and formatted with vfat. (fat32 is AFAIK backward compatible with fat16 so even if your driver only support fat16 it should work). Take look how I did on Alpine. http://alpine.cinematicnetworks.com/downloads/alpine/v0.0/iso/alpine-0.0.4-20060124.iso It's an bootable cdrom iso, but just copy all the files (on the iso image) to your new 256MB USB stick, run syslinux ("syslinux /dev/uba1" or "syslinux /dev/sdX1" where X is the letter for your usb drive) and reboot. If you have already destroyed your MBR on the USB stick (using tools like dd) then run: dd if=/usr/lib/syslinux/mbr.bin of=/dev/uba (or sda or whatever your usb device is) If you use an older computer that does not support boot from USB, then create a floppy using the floppy/usb.img. Boot from the floppy with the USB stick inserted. FYI. I never got your stick.img to boot. First I got the same "no operating system" message as previously mentioned. After installing the syslinux mbr.bin on the stick it found the kernel and booted it up but ended with a kernel panic: "Can't open /var/lib/lrpkg/root.dev.own" -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
RE: [leaf-devel] flash usb
Hey Eric & all, That is a good idea :-) I have an idea using the existing CD stuff and just, for the "Leafix" CD,automatically load the hdsupp.lrp (since this allready contain fdisk,syslinux and mkfs.msdos) as well as a new "usbsupp.lrp" package. OR we could change the current initrd_ide_cd to contain the need USB drivers. Then we just need to load the hdsupp.lrp package. The latter would then, in fact, be at least sort of, what the USB stick image would look like. If the loopback methd works out, we could create all kinds of images with a few changes to the existing scrips. H Jørn -Original Message- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: 27. mars 2006 16:01 To: [EMAIL PROTECTED] Cc: leaf-devel@lists.sourceforge.net Subject: Re: [leaf-devel] flash usb Hi everyone Jorn Eriksen wrote: > Natanael & All, > > >>>Agree about what? (sorry, I have given up to scroll up and down trying >>>to follow what people are talking about when somebody top-post. I follow >>>more than one mailing list...) > > The more LPR pacakges we can fit on the "image" the better :-) What about creating a Knoppix like CD (image) which allows the local creation of a bootable usb stick. This would allow to create any size image even for people without access to a _real_ linux system. Such a live CD system could even be used to fetch more packages over the net, making it real small. cheers Erich --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hi everyone Jorn Eriksen wrote: > Natanael & All, > > >>>Agree about what? (sorry, I have given up to scroll up and down trying >>>to follow what people are talking about when somebody top-post. I follow >>>more than one mailing list...) > > The more LPR pacakges we can fit on the "image" the better :-) What about creating a Knoppix like CD (image) which allows the local creation of a bootable usb stick. This would allow to create any size image even for people without access to a _real_ linux system. Such a live CD system could even be used to fetch more packages over the net, making it real small. cheers Erich --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb - UB Kernel Module
Hello Natanael, >> Not that I know of, but lets make things not too complicated ;) If >> /dev/sd? works lets just stick with that, the user only has to change >> syslinux.cfg/leaf.cfg if the device is something else than sda. Some >> smarter option can always be added later. > > and you could add "Easier usb handling" to your > why-upgrade-to-2.6-kernel-list. > > ;) > :))) Eric --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb - UB Kernel Module
Eric Spakman wrote: > Hello Jorn, > >> Hey Natanael & All, >> >> >> I can not find the UB drivers for the 2.4 Kernel. I'm not a kernel >> hacker thus there might be a patch floating around - any one? >> > Not that I know of, but lets make things not too complicated ;) If > /dev/sd? works lets just stick with that, the user only has to change > syslinux.cfg/leaf.cfg if the device is something else than sda. Some > smarter option can always be added later. and you could add "Easier usb handling" to your why-upgrade-to-2.6-kernel-list. ;) -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
RE: [leaf-devel] flash usb - UB Kernel Module
Hello Jorn, > Hey Natanael & All, > > > I can not find the UB drivers for the 2.4 Kernel. I'm not a kernel > hacker thus there might be a patch floating around - any one? > Not that I know of, but lets make things not too complicated ;) If /dev/sd? works lets just stick with that, the user only has to change syslinux.cfg/leaf.cfg if the device is something else than sda. Some smarter option can always be added later. > Jorn Eric > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Natanael > Copa > Sent: 27. mars 2006 12:08 > To: [EMAIL PROTECTED] > Cc: leaf-devel@lists.sourceforge.net > Subject: Re: [leaf-devel] flash usb > > > > Jorn Eriksen wrote: > > >>>> I never got your stick.img to boot. >>>> >> How interresting. I got it to work on several machines now. Including >> my mother in law's PC :-) > > I had to install the mbr.bin or my brand new dell didn't even find the > kernel. > >> I have, however, experienced this on a machine that have SCSI / USB >> reader connected and where the SCSI / USB reader ports get get a lower >> "number" >> than the USB stick (f.ex the USB reader become SDA). This is actually a >> little issue. > > That could be the case here. I have SATA disks (on the scsi subsystem). > But it sounds wierd because I doubt the sata drivers were ever loaded. > > >> I guess it's a matter of figuring out where in line the USB >> stick is and give change the syslinux.cfg / leaf.cfg BUT - that means > that >> the stick image will not work on "all" machines. I wonder if the other >> distros have this issue as well? > > Or you could try using the ub driver instead of usb-storage (if its > available on the 2.4 kernel) Then will the usb device show up as /dev/uba > instead of /dev/sd? > > -- > Natanael Copa > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > ___ > leaf-devel mailing list leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > ___ > leaf-devel mailing list leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
RE: [leaf-devel] flash usb - UB Kernel Module
Hey Natanael & All, I can not find the UB drivers for the 2.4 Kernel. I'm not a kernel hacker thus there might be a patch floating around - any one? Jorn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Natanael Copa Sent: 27. mars 2006 12:08 To: [EMAIL PROTECTED] Cc: leaf-devel@lists.sourceforge.net Subject: Re: [leaf-devel] flash usb Jorn Eriksen wrote: >>> I never got your stick.img to boot. > How interresting. I got it to work on several machines now. Including my > mother in law's PC :-) I had to install the mbr.bin or my brand new dell didn't even find the kernel. > I have, however, experienced this on a machine that have SCSI / USB reader > connected and where the SCSI / USB reader ports get get a lower "number" > than the USB stick (f.ex the USB reader become SDA). This is actually a > little issue. That could be the case here. I have SATA disks (on the scsi subsystem). But it sounds wierd because I doubt the sata drivers were ever loaded. > I guess it's a matter of figuring out where in line the USB > stick is and give change the syslinux.cfg / leaf.cfg BUT - that means that > the stick image will not work on "all" machines. I wonder if the other > distros have this issue as well? Or you could try using the ub driver instead of usb-storage (if its available on the 2.4 kernel) Then will the usb device show up as /dev/uba instead of /dev/sd? -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Jorn Eriksen wrote: >>> I never got your stick.img to boot. > How interresting. I got it to work on several machines now. Including my > mother in law's PC :-) I had to install the mbr.bin or my brand new dell didn't even find the kernel. > I have, however, experienced this on a machine that have SCSI / USB reader > connected and where the SCSI / USB reader ports get get a lower "number" > than the USB stick (f.ex the USB reader become SDA). This is actually a > little issue. That could be the case here. I have SATA disks (on the scsi subsystem). But it sounds wierd because I doubt the sata drivers were ever loaded. > I guess it's a matter of figuring out where in line the USB > stick is and give change the syslinux.cfg / leaf.cfg BUT - that means that > the stick image will not work on "all" machines. I wonder if the other > distros have this issue as well? Or you could try using the ub driver instead of usb-storage (if its available on the 2.4 kernel) Then will the usb device show up as /dev/uba instead of /dev/sd? -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Am Montag, 27. März 2006 11:56 schrieb Jorn Eriksen: > >>Why not only copying all files over, run syslinux and reboot? > > That more or less how I created my "image" :-) And that is an options that > is open to anyone allready. Maybe we should just add a section on this in > the documentation as well. > > Mike - can one just send you a plain text file with the content for such a > section? Pls send it to me, I'll take care of it. kp --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
RE: [leaf-devel] flash usb
Charles & All, I'll give this a go in my "fry thy stick" test later today or tomorrow - I guess if it works there will be no frying :-) Jorn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles Steinkuehler Sent: 27. mars 2006 02:53 To: leaf-devel@lists.sourceforge.net Subject: Re: [leaf-devel] flash usb -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jørn Eriksen wrote: > Hello Everyone, > > I found this doing a little search: > http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux > So - I wonder - can we just use whatever geomoetry we like with a USB disk? I believe so. As mentioned before, the concept of CHS is quite dated, and hasn't truly reflected what's physically on the disk since pretty much the advent of IDE back in (thinking...) the late 80's, early 90's? AFAIK, as long as the partition table is valid for how the disk is formatted, everything should be fine (at least for those filesystems that actually *USE* CHS info in their internal structurs...many don't, and just use logical block numbering as has been the standard on SCSI drives since roughly the dawn of time :). What I would do to make an image: Use dd to create an appropriately sized blank file (perhaps 4-8 Meg). Mount the filesystem as a loop-back device. Partition the lo device with an HDD partition table (4 main partitions). Create a bootable partition in the first primary parition. Install LRP files from an appropriate image Install desired boot loader (I'm partial to grub for this sort of thing, and it would allow using EXT3, but syslinux, lilo, or most anything should work as well). dd the image to a USB dongle. Test, then ship (or is that ship, then test...I always forget! :). I'm going to try to test the image floating around, but have been fairly short on time lately. - -- Charles Steinkuehler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEJzeGLywbqEHdNFwRAqRNAJ42JzAvbfOvK2A1mBolHq6r/ya2eQCeIlH6 tfPpC1ZeYeY258e2L4y9V0M= =+ASE -END PGP SIGNATURE- --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
RE: [leaf-devel] flash usb
Natanael & All, >>Agree about what? (sorry, I have given up to scroll up and down trying >>to follow what people are talking about when somebody top-post. I follow >>more than one mailing list...) The more LPR pacakges we can fit on the "image" the better :-) >>I don't really see the point in using images? Agreed - however - the folks on this list are most likely not the target audience for a USB STICK image. It's just, hmmm, service to new Leaf users (or to more experienced ones) who, sort of anyways, expect it to be fast & easy to get things started. I mainly use CF's myself. >>Why not only copying all files over, run syslinux and reboot? That more or less how I created my "image" :-) And that is an options that is open to anyone allready. Maybe we should just add a section on this in the documentation as well. Mike - can one just send you a plain text file with the content for such a section? >>I never got your stick.img to boot. How interresting. I got it to work on several machines now. Including my mother in law's PC :-) I have, however, experienced this on a machine that have SCSI / USB reader connected and where the SCSI / USB reader ports get get a lower "number" than the USB stick (f.ex the USB reader become SDA). This is actually a little issue. I guess it's a matter of figuring out where in line the USB stick is and give change the syslinux.cfg / leaf.cfg BUT - that means that the stick image will not work on "all" machines. I wonder if the other distros have this issue as well? Best regards Jørn -Original Message- From: Natanael Copa [mailto:[EMAIL PROTECTED] Sent: 27. mars 2006 10:40 To: [EMAIL PROTECTED] Cc: leaf-devel@lists.sourceforge.net Subject: Re: [leaf-devel] flash usb Jørn Eriksen wrote: > Eric & All, > > I think we sort of agree - it's just the way there we walk differetly :-) Agree about what? (sorry, I have given up to scroll up and down trying to follow what people are talking about when somebody top-post. I follow more than one mailing list...) http://google.com/search?q=top-posting+netiquette never mind... > I'll try to add the VFAT module to the initrd_u when I get back home. > Just to see how that work out. More for my own curiousity than anything > else. You might want to check out the ub usb driver as well. You don't need the scsi subsystem for using the ub driver so its smaller. According the documentation the ub driver might be slower but should work on more devices. > I've ordered a 256Mb Stick as well. When that stick arrive I'll also note > down the pysical geometry of all my sticks to see if the match up. If > they do, I'll go ahead and see if I can create an generic image for the > sticks. If that works OK I guess a "small" change to the create scripts > can fix it all. I don't really see the point in using images? Why not only copying all files over, run syslinux and reboot? When you are dealing with new USB sticks, that should be enough. They ship them partitioned and formatted with vfat. (fat32 is AFAIK backward compatible with fat16 so even if your driver only support fat16 it should work). Take look how I did on Alpine. http://alpine.cinematicnetworks.com/downloads/alpine/v0.0/iso/alpine-0.0.4-2 0060124.iso It's an bootable cdrom iso, but just copy all the files (on the iso image) to your new 256MB USB stick, run syslinux ("syslinux /dev/uba1" or "syslinux /dev/sdX1" where X is the letter for your usb drive) and reboot. If you have already destroyed your MBR on the USB stick (using tools like dd) then run: dd if=/usr/lib/syslinux/mbr.bin of=/dev/uba (or sda or whatever your usb device is) If you use an older computer that does not support boot from USB, then create a floppy using the floppy/usb.img. Boot from the floppy with the USB stick inserted. FYI. I never got your stick.img to boot. First I got the same "no operating system" message as previously mentioned. After installing the syslinux mbr.bin on the stick it found the kernel and booted it up but ended with a kernel panic: "Can't open /var/lib/lrpkg/root.dev.own" -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Jørn Eriksen wrote: > Eric & All, > > I think we sort of agree - it's just the way there we walk differetly :-) Agree about what? (sorry, I have given up to scroll up and down trying to follow what people are talking about when somebody top-post. I follow more than one mailing list...) http://google.com/search?q=top-posting+netiquette never mind... > I'll try to add the VFAT module to the initrd_u when I get back home. > Just to see how that work out. More for my own curiousity than anything > else. You might want to check out the ub usb driver as well. You don't need the scsi subsystem for using the ub driver so its smaller. According the documentation the ub driver might be slower but should work on more devices. > I've ordered a 256Mb Stick as well. When that stick arrive I'll also note > down the pysical geometry of all my sticks to see if the match up. If > they do, I'll go ahead and see if I can create an generic image for the > sticks. If that works OK I guess a "small" change to the create scripts > can fix it all. I don't really see the point in using images? Why not only copying all files over, run syslinux and reboot? When you are dealing with new USB sticks, that should be enough. They ship them partitioned and formatted with vfat. (fat32 is AFAIK backward compatible with fat16 so even if your driver only support fat16 it should work). Take look how I did on Alpine. http://alpine.cinematicnetworks.com/downloads/alpine/v0.0/iso/alpine-0.0.4-20060124.iso It's an bootable cdrom iso, but just copy all the files (on the iso image) to your new 256MB USB stick, run syslinux ("syslinux /dev/uba1" or "syslinux /dev/sdX1" where X is the letter for your usb drive) and reboot. If you have already destroyed your MBR on the USB stick (using tools like dd) then run: dd if=/usr/lib/syslinux/mbr.bin of=/dev/uba (or sda or whatever your usb device is) If you use an older computer that does not support boot from USB, then create a floppy using the floppy/usb.img. Boot from the floppy with the USB stick inserted. FYI. I never got your stick.img to boot. First I got the same "no operating system" message as previously mentioned. After installing the syslinux mbr.bin on the stick it found the kernel and booted it up but ended with a kernel panic: "Can't open /var/lib/lrpkg/root.dev.own" -- Natanael Copa --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jørn Eriksen wrote: > Hello Everyone, > > I found this doing a little search: > http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux > So - I wonder - can we just use whatever geomoetry we like with a USB disk? I believe so. As mentioned before, the concept of CHS is quite dated, and hasn't truly reflected what's physically on the disk since pretty much the advent of IDE back in (thinking...) the late 80's, early 90's? AFAIK, as long as the partition table is valid for how the disk is formatted, everything should be fine (at least for those filesystems that actually *USE* CHS info in their internal structurs...many don't, and just use logical block numbering as has been the standard on SCSI drives since roughly the dawn of time :). What I would do to make an image: Use dd to create an appropriately sized blank file (perhaps 4-8 Meg). Mount the filesystem as a loop-back device. Partition the lo device with an HDD partition table (4 main partitions). Create a bootable partition in the first primary parition. Install LRP files from an appropriate image Install desired boot loader (I'm partial to grub for this sort of thing, and it would allow using EXT3, but syslinux, lilo, or most anything should work as well). dd the image to a USB dongle. Test, then ship (or is that ship, then test...I always forget! :). I'm going to try to test the image floating around, but have been fairly short on time lately. - -- Charles Steinkuehler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEJzeGLywbqEHdNFwRAqRNAJ42JzAvbfOvK2A1mBolHq6r/ya2eQCeIlH6 tfPpC1ZeYeY258e2L4y9V0M= =+ASE -END PGP SIGNATURE- --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Eric & All, I think we sort of agree - it's just the way there we walk differetly :-) I'll try to add the VFAT module to the initrd_u when I get back home. Just to see how that work out. More for my own curiousity than anything else. I've ordered a 256Mb Stick as well. When that stick arrive I'll also note down the pysical geometry of all my sticks to see if the match up. If they do, I'll go ahead and see if I can create an generic image for the sticks. If that works OK I guess a "small" change to the create scripts can fix it all. Jorn - > Hello Jorn, > >> Hello All, >> >> >> I belive, as well, that this should be possible, however we have to make >> sure we build an image that have the same "physial" properties as a USB >> HDD. Not my speciality this however I can sacrifice one of my stick to >> give it a go using Andreas suggestion with a loopback file system. I've >> tried this with CF drives with mixed success in the past thus I would >> like to be possitivle supprised this time :-) >> > That was the same idea I had, but I don't know enough about USB sticks to > be sure about it ;-) > >> I have, as mentioned, taken the CD ISO as a starting point and thus >> making it easy for "users" (of the image) to change it into whatever >> they >> need. My focus has not been on a small footprint, but rather get the >> full >> monty on the stick. Should we focus on as small as possible, or the >> more >> "standard" packages the better? I had a hard time finding a stick >> smaller that 64Mb and since the CD image take about 31Mb we have space >> "enough" >> for all the packages that are on the CD. >> > Agree with that, but using the CD image has a few drawbacks. The modules, > which are available on the CD-image, get truncated. Also some other > packages with "long" names, like initrd_usb.lrp or initrd_ide_cd.lrp get > truncated (they are meant to be renamed to initrd.lrp when used). > But it's no problem to make a specific image for USB which still contains > all packages without the individual modules and redundant packages. The > image scripts can take care of that. > > I think we can focus on putting all packages on the stick, they can easy > be "enabled" by setting them in leaf.cfg or removed by the user when not > needed. And like you say, it's difficult to find a stick smaller than 64Mb > ;-) > >> Jorn >> > Eric > >> >>> Eric Spakman wrote: >>> >>> Hello Andrea, Also a question, is it possible to create an image without using a physical device? This way it's easier to use the image create scripts the Bering-uClibc team uses to create floppy and CD images to also be used for USB images. >>> >>> Well, I think yes. I think is feasible as buildpacket.pl does to >>> create an inirtd image, something like: >>> >>> dd if=/dev/zero of=some to create space >>> >>> and then run mksomefs etc. >>> >>> Of course we should decide for a default size, and/or ask someway as >>> parameter. >>> >>> Regards, >>> Andrea Fino >>> >>> >>> -- >>> Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" >>> "Handcrafted systems with industrial quality" >>> [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] >>> >>> >>> >>> >>> --- >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>> language that extends applications into web and mobile media. Attend >>> the >>> live webcast and join the prime developer group breaking into this new >>> coding territory! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164 >>> 2 >>> >>> >>> ___ >>> leaf-devel mailing list leaf-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/leaf-devel >>> >>> >>> >> >> >> >> >> --- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language that extends applications into web and mobile media. Attend the >> live webcast and join the prime developer group breaking into this new >> coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 >> >> >> ___ >> leaf-devel mailing list leaf-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/leaf-devel >> >> > > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > ---
Re: [leaf-devel] flash usb
Hello Everyone, I found this doing a little search: http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux So - I wonder - can we just use whatever geomoetry we like with a USB disk? I saw some comments about this a bit ealier on the list. It's going to be a fun test :-) J --- > Hello Andrea, > >>> >>> Also a question, is it possible to create an image without using a >>> physical device? This way it's easier to use the image create scripts >>> the Bering-uClibc team uses to create floppy and CD images to also be >>> used for USB images. >>> >> >> Well, I think yes. I think is feasible as buildpacket.pl does to >> create an inirtd image, something like: >> >> dd if=/dev/zero of=some to create space >> >> and then run mksomefs etc. >> > The Bering-uClibc team has scripts that do something like that for Floppy > and ISO images and also collect the packages from CVS, would be great if > the same method would also work for USB. > http://cvs.sourceforge.net/viewcvs.py/leaf/src/bering-uclibc/buildtool/tools/ > > The createimage.sh and prepareimagefiles.sh take care of that. > >> Of course we should decide for a default size, and/or ask someway as >> parameter. >> > I think something like 64Mbyte should do, it's more than enough for all > packages. > >> Regards, >> Andrea Fino >> >> >> -- >> Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" >> "Handcrafted systems with industrial quality" >> [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] >> > > Regards, > Eric > > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hello Jorn, > Hello All, > > > I belive, as well, that this should be possible, however we have to make > sure we build an image that have the same "physial" properties as a USB > HDD. Not my speciality this however I can sacrifice one of my stick to > give it a go using Andreas suggestion with a loopback file system. I've > tried this with CF drives with mixed success in the past thus I would > like to be possitivle supprised this time :-) > That was the same idea I had, but I don't know enough about USB sticks to be sure about it ;-) > I have, as mentioned, taken the CD ISO as a starting point and thus > making it easy for "users" (of the image) to change it into whatever they > need. My focus has not been on a small footprint, but rather get the full > monty on the stick. Should we focus on as small as possible, or the more > "standard" packages the better? I had a hard time finding a stick > smaller that 64Mb and since the CD image take about 31Mb we have space > "enough" > for all the packages that are on the CD. > Agree with that, but using the CD image has a few drawbacks. The modules, which are available on the CD-image, get truncated. Also some other packages with "long" names, like initrd_usb.lrp or initrd_ide_cd.lrp get truncated (they are meant to be renamed to initrd.lrp when used). But it's no problem to make a specific image for USB which still contains all packages without the individual modules and redundant packages. The image scripts can take care of that. I think we can focus on putting all packages on the stick, they can easy be "enabled" by setting them in leaf.cfg or removed by the user when not needed. And like you say, it's difficult to find a stick smaller than 64Mb ;-) > Jorn > Eric > >> Eric Spakman wrote: >> >> >>> Hello Andrea, >>> >>> >>> >>> >>> Also a question, is it possible to create an image without using a >>> physical device? This way it's easier to use the image create scripts >>> the Bering-uClibc team uses to create floppy and CD images to also be >>> used for USB images. >>> >>> >>> >>> >> >> Well, I think yes. I think is feasible as buildpacket.pl does to >> create an inirtd image, something like: >> >> dd if=/dev/zero of=some to create space >> >> and then run mksomefs etc. >> >> Of course we should decide for a default size, and/or ask someway as >> parameter. >> >> Regards, >> Andrea Fino >> >> >> -- >> Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" >> "Handcrafted systems with industrial quality" >> [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] >> >> >> >> >> --- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language that extends applications into web and mobile media. Attend the >> live webcast and join the prime developer group breaking into this new >> coding territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164 >> 2 >> >> >> ___ >> leaf-devel mailing list leaf-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/leaf-devel >> >> >> > > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > > > ___ > leaf-devel mailing list leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hello All, I belive, as well, that this should be possible, however we have to make sure we build an image that have the same "physial" properties as a USB HDD. Not my speciality this however I can sacrifice one of my stick to give it a go using Andreas suggestion with a loopback file system. I've tried this with CF drives with mixed success in the past thus I would like to be possitivle supprised this time :-) I have, as mentioned, taken the CD ISO as a starting point and thus making it easy for "users" (of the image) to change it into whatever they need. My focus has not been on a small footprint, but rather get the full monty on the stick. Should we focus on as small as possible, or the more "standard" packages the better? I had a hard time finding a stick smaller that 64Mb and since the CD image take about 31Mb we have space "enough" for all the packages that are on the CD. Jorn > Eric Spakman wrote: > >>Hello Andrea, >> >> >> >>Also a question, is it possible to create an image without using a >>physical device? This way it's easier to use the image create scripts the >>Bering-uClibc team uses to create floppy and CD images to also be used >> for >>USB images. >> >> >> > > Well, I think yes. I think is feasible as buildpacket.pl does to > create an inirtd image, something like: > > dd if=/dev/zero of=some to create space > > and then run mksomefs etc. > > Of course we should decide for a default size, and/or ask someway as > parameter. > > Regards, > Andrea Fino > > -- > Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" > "Handcrafted systems with industrial quality" > [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hello Andrea, >> >> Also a question, is it possible to create an image without using a >> physical device? This way it's easier to use the image create scripts >> the Bering-uClibc team uses to create floppy and CD images to also be >> used for USB images. >> > > Well, I think yes. I think is feasible as buildpacket.pl does to > create an inirtd image, something like: > > dd if=/dev/zero of=some to create space > > and then run mksomefs etc. > The Bering-uClibc team has scripts that do something like that for Floppy and ISO images and also collect the packages from CVS, would be great if the same method would also work for USB. http://cvs.sourceforge.net/viewcvs.py/leaf/src/bering-uclibc/buildtool/tools/ The createimage.sh and prepareimagefiles.sh take care of that. > Of course we should decide for a default size, and/or ask someway as > parameter. > I think something like 64Mbyte should do, it's more than enough for all packages. > Regards, > Andrea Fino > > > -- > Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" > "Handcrafted systems with industrial quality" > [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] > Regards, Eric --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Eric Spakman wrote: Hello Andrea, Also a question, is it possible to create an image without using a physical device? This way it's easier to use the image create scripts the Bering-uClibc team uses to create floppy and CD images to also be used for USB images. Well, I think yes. I think is feasible as buildpacket.pl does to create an inirtd image, something like: dd if=/dev/zero of=some to create space and then run mksomefs etc. Of course we should decide for a default size, and/or ask someway as parameter. Regards, Andrea Fino -- Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" "Handcrafted systems with industrial quality" [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hello Andrea, Good work! A few notes about the image: There are a few unneeded files in the image, like modules_ipv6.lrp (which is a replacment package for modules.lrp) and initrd_ide (which seems to be unpacked also). The syslinux.cfg contains a few entries which could easier be placed in leaf.cfg like: syslinux.cfg: display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/sda1:msdos leaf.cfg: LRP="root config etc local modules iptables dhcpcd keyboard shorwall ulogd dnsmasq dropbear mhttpd webconf" PKGPATH="/dev/sda1:msdos" syst_size=12M log_size=4M Also a question, is it possible to create an image without using a physical device? This way it's easier to use the image create scripts the Bering-uClibc team uses to create floppy and CD images to also be used for USB images. Eric > Hi, > > > I have put a binary leaf bering image built with: > > > 1) build the env with buildroot, so I got the lrp in packages > > > 2) these commands: > > > mkdosfs /dev/sde1 mount /dev/sde1 /mnt cd /root/packages cp -pr * /mnt umount > /mnt > syslinux /dev/sde1 > > 3) syslinux.cfg: > > > PKGPATH=/dev/sda1:msdos and so LEAFCFG > > > put initrd_usb.lrp > > in my sourceforge leaf cvs devel area : devel/faino/usbtest > > feel free to test it if you like, please us know how it goes. > > Regards, > Andrea Fino > > > -- > Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" > "Handcrafted systems with industrial quality" > [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] > > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > ___ > leaf-devel mailing list leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
On Sun, 2006-03-26 at 08:38, Andrea Fino wrote: > I have put a binary leaf bering image built with: > in my sourceforge leaf cvs devel area : devel/faino/usbtest http://cvs.sourceforge.net/viewcvs.py/leaf/devel/faino/ > feel free to test it if you like, please us know how it goes. Andrea, Thank you for taking the time to create this image. With Jorn's image and this new one, I'm confident a generic/universal usb flash drive image is possible. :-) -- Mike Noyes http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Hi, I have put a binary leaf bering image built with: 1) build the env with buildroot, so I got the lrp in packages 2) these commands: mkdosfs /dev/sde1 mount /dev/sde1 /mnt cd /root/packages cp -pr * /mnt umount /mnt syslinux /dev/sde1 3) syslinux.cfg: PKGPATH=/dev/sda1:msdos and so LEAFCFG put initrd_usb.lrp in my sourceforge leaf cvs devel area : devel/faino/usbtest feel free to test it if you like, please us know how it goes. Regards, Andrea Fino -- Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" "Handcrafted systems with industrial quality" [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
On Fri, 2006-03-24 at 08:58, Jørn Eriksen wrote: > Andrea, > Try to use /dev/sda as you "boot" device. That might help. Jørn, Andrea is on-line in our irc channel. You might have an easier time troubleshooting his issues there. irc.slashnet.org #leaf Note: register with nickserv and you'll receive voice. /msg nickserv help register irc://irc.slashnet.org/%23leaf -- Mike Noyes http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Andrea, Try to use /dev/sda as you "boot" device. That might help. Jorn > I did a boot image this way: > > 1) mounted the leaf bin floppy image on /mnt > > 2) makebootfat -o /dev/sde -Y -m ../syslinux-3.11/mbr.bin -b > ../syslinux-3.11/ldlinux.bss -c ../syslinux-3.11/ldlinux.sys /mnt > > 3) sync; > > put the usb on mobo and boot. (/dev/sde = usb stick) > > Regards, > Andrea Fino > > -- > Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" > "Handcrafted systems with industrial quality" > [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] > > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
I did a boot image this way: 1) mounted the leaf bin floppy image on /mnt 2) makebootfat -o /dev/sde -Y -m ../syslinux-3.11/mbr.bin -b ../syslinux-3.11/ldlinux.bss -c ../syslinux-3.11/ldlinux.sys /mnt 3) sync; put the usb on mobo and boot. (/dev/sde = usb stick) Regards, Andrea Fino -- Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" "Handcrafted systems with industrial quality" [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Natanael Copa wrote: Andrea Fino wrote: I have tried : http://www.ccl-network.com/leaf/stick.img.gz 1) as usb-fdd, no boot at all 2) as usb-hdd I get "missinng operating system" did you run syslinux? No. I did now, same thing. Regards, Andrea -- Andrea Fino 8-) - "Sistemi su misura di qualita' industriale" "Handcrafted systems with industrial quality" [Web: http://www.faino.org ]+[Email: [EMAIL PROTECTED] ] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] flash usb
Andrea Fino wrote: > I have tried : http://www.ccl-network.com/leaf/stick.img.gz > > > 1) as usb-fdd, no boot at all > 2) as usb-hdd I get "missinng operating system" did you run syslinux? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel