Re: using d-i to install kfreebsd-i386 from usb
On Wed, Dec 16, 2009 at 10:32:10PM +, Thorsten Glaser wrote: > Luca Favatella dixit: > > >Is there a way to use d-i to install kfreebsd-i386 from usb? > > I don't see any technical reason why not. It probably depends > on the bootloader used. > > MirBSD uses the manifold-boot method with MirBSD's loader. > Grml uses the manifold-boot method with GNU GRUB 2. > Others use ISOHYBRID with ISOLINUX. > > With these techniques, you can dd(1) an ISO 9660 filesystem > image onto a USB stick and have it bootable immediately. I'll probably test this solution (dd iso to usb) when possible. > I'm pretty sure that the FreeBSD kernel is capable of handling > such a situation. It's just an oversized floppy with a filesy- > stem supported, although unusual, after all. > > Note that GNU GRUB-legacy isn't capable of handling it, for > SYSLINUX you need a FAT16 filesystem (so you'd have to have > separate images for ISO and USB stick, which doubles the need > to produce, test and distribute), and other loaders also are > or may be problematic. This solution looks similar to that used for Linux in d-i manual http://d-i.alioth.debian.org/manual/en.i386/ch04s03.html > I wouldn't know about the FreeBSD loa- > der, but from what I read, GRUB2 is already up to booting a > Debian GNU/kFreeBSD by itself. > > I'll gladly provide assistance if desired. > > bye, > //mirabilos Thanks, Luca Favatella -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: using d-i to install kfreebsd-i386 from usb
On Thu, Dec 17, 2009 at 09:50:12AM +1100, Joshua Cummings wrote: > On Wed, 2009-12-16 at 23:13 +0100, Luca Favatella wrote: > > Hi. > > > > Is there a way to use d-i to install kfreebsd-i386 from usb? > > This could be useful to install kfreebsd-i386 (using d-i) on machines > > without cd/dvd drive (e.g. eeepc laptop). > > > > I used the d-i image to install kfreebsd-i386 on my eeepc 701 a couple > of days ago. I basically extracted the CD contents and installed GRUB to > the USB stick. Works great. Hackish solution. Thanks. > Only thing I had to do is load the 'ae' > ethernet driver manually from boot with 'kfreebsd_module_elf', otherwise > the installer wouldn't detect any interfaces. Ok. > I'm hoping to put together an eeepc-specific image with everything > supported/working out of the box (the Atheros wifi will mean a custom > kernel with non-free bits though) in the same style as the existing > Linux image. Instead of an eeepc-specific image, perhaps you could consider helping in using 8.0 kernel in d-i. AFAIK Atheros driver is free in 8.0. Thanks, Luca Favatella -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: using d-i to install kfreebsd-i386 from usb
Luca Favatella dixit: >Is there a way to use d-i to install kfreebsd-i386 from usb? I don't see any technical reason why not. It probably depends on the bootloader used. MirBSD uses the manifold-boot method with MirBSD's loader. Grml uses the manifold-boot method with GNU GRUB 2. Others use ISOHYBRID with ISOLINUX. With these techniques, you can dd(1) an ISO 9660 filesystem image onto a USB stick and have it bootable immediately. I'm pretty sure that the FreeBSD kernel is capable of handling such a situation. It's just an oversized floppy with a filesy- stem supported, although unusual, after all. Note that GNU GRUB-legacy isn't capable of handling it, for SYSLINUX you need a FAT16 filesystem (so you'd have to have separate images for ISO and USB stick, which doubles the need to produce, test and distribute), and other loaders also are or may be problematic. I wouldn't know about the FreeBSD loa- der, but from what I read, GRUB2 is already up to booting a Debian GNU/kFreeBSD by itself. I'll gladly provide assistance if desired. bye, //mirabilos -- 16:47⎜«mika:#grml» .oO(mira ist einfach gut) 23:22⎜«mikap:#grml» mirabilos: und dein bootloader ist geil :)23:29⎜«mikap:#grml» und ich finds saugeil dass ich ein bsd zum booten mit grml hab, das muss ich dann gleich mal auf usb-stick installieren -- Michael Prokop über MirOS bsd4grml -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: using d-i to install kfreebsd-i386 from usb
On Wed, 2009-12-16 at 23:13 +0100, Luca Favatella wrote: > Hi. > > Is there a way to use d-i to install kfreebsd-i386 from usb? > This could be useful to install kfreebsd-i386 (using d-i) on machines > without cd/dvd drive (e.g. eeepc laptop). > I used the d-i image to install kfreebsd-i386 on my eeepc 701 a couple of days ago. I basically extracted the CD contents and installed GRUB to the USB stick. Works great. Only thing I had to do is load the 'ae' ethernet driver manually from boot with 'kfreebsd_module_elf', otherwise the installer wouldn't detect any interfaces. I'm hoping to put together an eeepc-specific image with everything supported/working out of the box (the Atheros wifi will mean a custom kernel with non-free bits though) in the same style as the existing Linux image. -- Joshua -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
using d-i to install kfreebsd-i386 from usb
Hi. Is there a way to use d-i to install kfreebsd-i386 from usb? This could be useful to install kfreebsd-i386 (using d-i) on machines without cd/dvd drive (e.g. eeepc laptop). Cheers, Luca Favatella -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
[patch] pidfile_open (was: devd now running on my box)
On Wed, 16 Dec 2009 16:09:19 +0100, Guillem Jover wrote: > I was in the process to release a new upstream release for libbsd, and > can include those functions. I'll then proceed with an upload to > Debian. Find below a patch against the debian source. * debian/control (Description): Update. * Makefile (LIB_SRCS): Add pidfile.c * Versions (LIBBSD_0.2): New. * include/libutil.h (struct pidfh): New. (pidfile_open, pidfile_write, pidfile_close, pidfile_remove): New. * src/pidfile.c: New. Taken from http://svn.freebsd.org/base/head/lib/libutil, rev 200601. (flopen): Merge using flopen.c from the same repo. I am not sure how you handle the versioning. I added the new functions under a new symbol versioning branch; it seems that is the policy for libbsd. I did not include flopen.c because it is not needed and may conflict with other code which uses the same symbol. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. libbsd-0.1.6-wk0.patch Description: Binary data
freebsd-utils 8.0-2 MIGRATED to testing
FYI: The status of the freebsd-utils source package in Debian's testing distribution has changed. Previous version: 8.0-1 Current version: 8.0-2 -- This email is automatically generated once a day. As the installation of new packages into testing happens multiple times a day you will receive later changes on the next day. See http://release.debian.org/testing-watch/ for more information. -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: devd now running on my box
Hi! On Wed, 2009-12-16 at 15:21:59 +0100, Werner Koch wrote: > I worked on devd and now I am able run the rc.suspend and rc.resume > scripts on my X31. To make that really useful I also ported acpiconf. Ah great! > I added new functions pidfile_* to libbsd and would like to know how > to proceed: Create a Debian patch or talk to upstream and get it into > their repo first? I was in the process to release a new upstream release for libbsd, and can include those functions. I'll then proceed with an upload to Debian. regards, guillem -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
devd now running on my box
Hi! I worked on devd and now I am able run the rc.suspend and rc.resume scripts on my X31. To make that really useful I also ported acpiconf. I added new functions pidfile_* to libbsd and would like to know how to proceed: Create a Debian patch or talk to upstream and get it into their repo first? Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: devd, acpiconf and such
On Tue, 15 Dec 2009 23:10:07 +0100, Aurelien Jarno wrote: > As far as I know, no one is working on that. Ideally this should be > integrated to the freebsd-utils source package (possibly producing new > binary packages), but this is probably a detail, the most important job > being to port it to glibc. I am working on it now. Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: installation fails
Hello again, The error messages start with: Setting up networking... Mounting local filesystems...mount: /dev/ad0s1 : No such file or directory failed.(red) Then there is a message about "/dev/null" not found which I have experienced several times during the installation, but I have ignored. Cheers, Anton - Original Message - From: "Aurelien Jarno" To: "Anton Andreev" Cc: debian-bsd@lists.debian.org Sent: Wednesday, December 16, 2009 12:07:36 AM Subject: Re: installation fails On Tue, Dec 15, 2009 at 10:24:57PM +0200, Anton Andreev wrote: > Hello, > > After the debian kfreeBSD installer reboots the system then then first boot > fails. > Does anyone has the same problem? > This is due to a bug in initramfs, that mounts a tmpfs filesystem over /dev (as on GNU/Linux), it used to be workarounded in freebsd-utils, but a bug now prevents the workaround to work. The bug is fixed in freebsd-utils from unstable, but the package still needs to migrate into testing. In the meanwhile, it is possible to workaround the problem by running "ln -s /proc/mtab /target/etc/mtab" in the d-i terminal (using alt-f2), at the end of the installation, and before rebooting. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: installation fails
Hello, >From the error messages you all seems right about not able to mount.I have >experienced it on both vmware and virtualbox. Maybe I will try and see if this manual workaround works. Please move this package to testing. Cheers, Anton - Original Message - From: "Aurelien Jarno" To: "Anton Andreev" Cc: debian-bsd@lists.debian.org Sent: Wednesday, December 16, 2009 12:07:36 AM Subject: Re: installation fails On Tue, Dec 15, 2009 at 10:24:57PM +0200, Anton Andreev wrote: > Hello, > > After the debian kfreeBSD installer reboots the system then then first boot > fails. > Does anyone has the same problem? > This is due to a bug in initramfs, that mounts a tmpfs filesystem over /dev (as on GNU/Linux), it used to be workarounded in freebsd-utils, but a bug now prevents the workaround to work. The bug is fixed in freebsd-utils from unstable, but the package still needs to migrate into testing. In the meanwhile, it is possible to workaround the problem by running "ln -s /proc/mtab /target/etc/mtab" in the d-i terminal (using alt-f2), at the end of the installation, and before rebooting. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org