Re: Testing changes in current using a liveCD
After realizing that FuguIta runs stable and not current like I thought (sorry for the noise) I decided to download a snapshot from an openbsd mirror and to install it in my Thinkpad T410. I indeed noticed an improvement in the CPU temperature issue: With 5.7 release after booting: hw.sensors.fan0=3283 RPM hw.sensors.temp0=43.00 degC hw.sensors.itherm0.power0=5.00 W With 5.8 Jun 18th snapshot idem: hw.sensors.fan0=1981 RPM hw.sensors.temp0=37.00 degC hw.sensors.itherm0.power0=4.00 W Even so there is no improvement in battery life. Two hours maximum. *** OFF TOPIC I had to change my email address to be able to post this message; the original address I'd subscribed to this mailing list was blacklisted without apparent reason. I asked for help sending a message to owner-majord...@openbsd.org as pointed at in the majordomo web interface (using this new address since the other is banned); no response. So I'll repeat here my suggestion to warn others about the issue: new users of openbsd mailing lists should be aware about the long delays they'll experience because of the spamd greylist settings, and, honestly, the postmaster should consider if spam is really more annoying than suffering this greylisting measure. Walter
Re: Testing changes in current using a liveCD
A twenty percent power reduction is no improvement? You have high expectations. On Sun, Jun 21, 2015 at 5:13 PM, Walter Alejandro Iglesias roque...@gmail.com wrote: After realizing that FuguIta runs stable and not current like I thought (sorry for the noise) I decided to download a snapshot from an openbsd mirror and to install it in my Thinkpad T410. I indeed noticed an improvement in the CPU temperature issue: With 5.7 release after booting: hw.sensors.fan0=3283 RPM hw.sensors.temp0=43.00 degC hw.sensors.itherm0.power0=5.00 W With 5.8 Jun 18th snapshot idem: hw.sensors.fan0=1981 RPM hw.sensors.temp0=37.00 degC hw.sensors.itherm0.power0=4.00 W Even so there is no improvement in battery life. Two hours maximum. *** OFF TOPIC I had to change my email address to be able to post this message; the original address I'd subscribed to this mailing list was blacklisted without apparent reason. I asked for help sending a message to owner-majord...@openbsd.org as pointed at in the majordomo web interface (using this new address since the other is banned); no response. So I'll repeat here my suggestion to warn others about the issue: new users of openbsd mailing lists should be aware about the long delays they'll experience because of the spamd greylist settings, and, honestly, the postmaster should consider if spam is really more annoying than suffering this greylisting measure. Walter
Re: Testing changes in current using a liveCD
On Sun, Jun 21, 2015 at 05:24:35PM -0400, Peter Pauly wrote: A twenty percent power reduction is no improvement? You have high expectations. I know that my English is horrible :-) but what do you read below? On Sun, Jun 21, 2015 at 5:13 PM, Walter Alejandro Iglesias roque...@gmail.com wrote: I indeed noticed an improvement in the CPU temperature issue: I ignore why (I'm not an engineer) the battery life didn't reflected that improvement. That's what I meant. Walter -- PLEASE, LET'S PRESERVE GOOD EMAIL PRACTICES - Use plain text (no HTML please). - Separate paragraphs with empty lines. - Use hard wrapped lines at no more than 72 columns. - Avoid top-posting. - You'll find the above easy to accomplish by using a decent email client (i.e. Thunderbird, Claws mail, Mutt).
Testing changes in current using a liveCD
Hello, I'd appreciate someone tell me if I'm doing something wrong. I want to test the latest ACPI changes in two Thinkpad I own (T410 and x201). I assume: 1. To test current I can just use the latest snapshot. 2. FuguIta LiveCD is regularly updated to the latest snapshot. In case I'm not wrong about some of those two assumptions. I tested my T410 and x201 with 5.7 release and June 17th 2015 snapshot without noticing any differences. I took in care the values showed by hw.sensors and apm, for example with both (release and snapshot) in x201 the values are arround: hw.sensors.fan0=3283 RPM hw.sensors.temp0=43.00 degC hw.sensors.itherm0.power0=5.00 W Please tell me if I'm wrong in any step. Walter -- PLEASE, LET'S PRESERVE GOOD EMAIL PRACTICES - Use plain text (no HTML please). - Separate paragraphs with empty lines. - Use hard wrapped lines at no more than 72 columns. - Avoid top-posting. - You'll find the above easy to accomplish by using a decent email client (i.e. Thunderbird, Claws mail, Mutt).
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
Andres Perera wrote: read very slowly if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you I think you are making a confusion between usb mass storage device and usd attached hdd device. there are no official boot images for hdd. nick is aware of this, and so are the rest of the developers Yes, they do, since there is no such thing like images for hdd. I let you try to define one. the faq requires that you boot with bsd.rd and use that environment to install to usb media That is one particular case. The FAQ didn' t say all and it didn't say you cannot install on your kind of laptop. you cannot do that with a single computer that can only boot from usb hdd with the official media, so you need to install to qemu No. you are obviously not talking about the same situation, and neither is the other dude. more than that, you've never encountered this problem or else you'd be familiar with the requirements Try again. you are a humongous idiot Maybe I am, but that doesn't take away your pain. I wonder if you are able to call me that face to face. I let you have your personal quest of what OpenBSD cannot do. The search engines will redirect users to the middle of this thread where a solution was posted, no qemu involved. I'm out.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Tue, Apr 10, 2012 at 1:53 AM, Mihai Popescu mih...@gmail.com wrote: Andres Perera wrote: read very slowly if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you I think you are making a confusion between usb mass storage device and usd attached hdd device. there's no distinction for the bios, which is the key part in booting a system. on x86 it looks for specific data which is common in mass storage media and hdd, *different* to cd boot and floppy boot there are no official boot images for hdd. nick is aware of this, and so are the rest of the developers Yes, they do, since there is no such thing like images for hdd. I let you try to define one. hah, dd your raw hard drive device to a usb key. you have an hdd image. moreover, several projects either offer those, or an alternatively crafted iso which can be used for usb boot because it doesn't just have el torito boot you are wa over your head son, yet you keep insisting
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
Andres Perera wote: i don't understand why is such a simple problem turning into drama It is not. As for the understanding part, you need to identify what is stopping you in the first place - is it that english is not your first language and you don't have enough of it, or is it that you read between lines, or any other thing. Once you will find it, you can asjust it and come to an understanding. Eventually. that's outside the conditions. i am talking about a real world situation where i had ONE COMPUTER and it did not have a cd drive Nick, the FAQ and a bunch of internet out there ARE TALKING about the same thing. Didn't you really see this? that's it. there's no other way to look at it Says who? Take a look at soekris.com stuff and believe this boards are able to get OpenBSD installed on them and run it successfully. And guess what? Only ONE COMPUTER is involved to prepare the OS. Excuse my intervention, please, but your answers keep remainding me of someone I work with, who got a habit of telling people around him how they CAN'T accomplish something. Pretty useless.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Mon, Apr 9, 2012 at 11:26 AM, Mihai Popescu mih...@gmail.com wrote: B Andres Perera wote: B i don't understand why is such a simple problem turning into drama It is not. As for the understanding part, you need to identify what is stopping you in the first place - is it that english is not your first language and you don't have enough of it, or is it that you read between lines, or any other thing. Once you will find it, you can asjust it and come to an understanding. Eventually. that's outside the conditions. i am talking about a real world situation where i had ONE COMPUTER and it did not have a cd drive Nick, the FAQ and a bunch of internet out there ARE TALKING about the same thing. Didn't you really see this? that's it. there's no other way to look at it Says who? Take a look at soekris.com stuff and believe this boards are able to get OpenBSD installed on them and run it successfully. And guess what? Only ONE COMPUTER is involved to prepare the OS. read very slowly if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you there are no official boot images for hdd. nick is aware of this, and so are the rest of the developers the faq requires that you boot with bsd.rd and use that environment to install to usb media you cannot do that with a single computer that can only boot from usb hdd with the official media, so you need to install to qemu you are obviously not talking about the same situation, and neither is the other dude. more than that, you've never encountered this problem or else you'd be familiar with the requirements you are a humongous idiot Excuse my intervention, please, but your answers keep remainding me of someone I work with, who got a habit of telling people around him how they CAN'T accomplish something. Pretty useless.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Mon, Apr 09, 2012, Andres Perera wrote: if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you there are no official boot images for hdd. nick is aware of this, and so are the rest of the developers Copy the floppy (or cd, for that matter) image onto a USB stick. Boot from it. Problem solved.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
nope, not all bioses like that my hp mini's bios is only willing to do hdd emulation on usb sticks, so a dd'd iso or floppy image will not suffice (and hey, this inability isn't uncommon either) On Mon, Apr 9, 2012 at 6:38 PM, Ted Unangst t...@tedunangst.com wrote: On Mon, Apr 09, 2012, Andres Perera wrote: if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you there are no official boot images for hdd. nick is aware of this, and so are the rest of the developers Copy the floppy (or cd, for that matter) image onto a USB stick. B Boot from it. B Problem solved.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On 04/06/12 07:35, Dan Shechter wrote: Hi, Sorry for the newbe question, but what is wrong with what he is doing? Best regards, Dan First of all, OpenBSD is completely free software. we can not, nor do we want to stop anyone from making their own project (or product) based on OpenBSD. That doesn't mean we always like it. The problem comes in when people create things that are no longer OpenBSD, then the users come to our lists and developers expecting help. Or develop an opinion of OpenBSD based on these non-OpenBSD projects. This is often due to lack of maintenance on the part of those projects -- they put something together because they feel they need it, they think, this is pretty cool, set up a website, make a logo, and ta-da, a project is born...and often, that's how it stays. We also don't like misinformation...for example, this from another part of the thread: can't install in the first place if your only bootable media can be usb sticks. the alternative to downloading premade images is making them in qemu, which is more work for little gain That's ONE alternative. Roughly equivalent to turning right by turning left three times (reverse for Drive-on-Left countries). You can take your USB stick and an OpenBSD CD to any same-platform computer in the world that can boot from CD and has a USB port and build an install device there using standard processes...and you know what you have and how you got it. But other issues are solutions to non-problems, like flash-based re-distributions of OpenBSD. They are sold as here's how to put OpenBSD on a flash device, but in reality, they make a difficult-to-maintain system that is actually NEEDED by a tiny minority of people utilizing flash media on an OpenBSD system, the rest are just taking perverse pleasure in doing simple things the hard way, because it is the sport of this industry. Worse, a lot of these projects are in the form of just do this, and you get this type things, rather than here's how I did this, adapt as needed to your goals, so people can't see the assumptions they made and the overall strategy, so their ability to troubleshoot, upgrade, etc. the solution is minimal. We've also had users find recipes for mail servers on the 'net that only worked for obsolete versions of OpenBSD, and users who would rather follow the recipe on an obsolete version of OpenBSD than understand how it works and implement properly on supported versions of OpenBSD. There is a problem that many people on the 'net have -- they forget that any idiot can publish anything they wish on the 'net...the ability to render their thoughts into print or web does not mean it is accurate or of value...and google rankings There's also the issue of trust: here's this file I put out on the 'net, please download it, install it, and run it. enjoy! um... I have NO reason to believe Girish is deliberately doing anything to hurt the OpenBSD project, or its users. However, I have some gripes with this particular project: * The Live CD (which might be fascinating, though in 2012, now that everything boots off Flash now, I'm not sure how useful) isn't a live CD, it's a CD that makes a live USB drive. * He's perpetuating the gotta use qemu to make a flash drive thing. That's a funny shaped hammer to drive something that doesn't look like a nail. * Some language vagueness which is somewhat confusing (4GB...what? RAM? Flash drive? space free?) * Significant lag between OpenBSD release and project updates. * Recreating something that is trivial for any experienced OpenBSD user to create on their own. It may be of use for new OpenBSD users...but are they really using OpenBSD? While a USB flash drive may seem a good starting point for new users, due to performance, I'd much rather suggest a junk PC one could dedicate to the (I actually started out thinking I was going to be singing the praise of Girish's creation of a Live OpenBSD CDROM as a true value add to OpenBSD...but was rather disappointed to find out it was just an installer for a USB Flash install.) Nick. On Mon, Apr 2, 2012 at 8:56 AM, Jan Stary h...@stare.cz wrote: On Apr 01 21:30:58, Girish Venkatachalam wrote: After a long long time. Sigh. Please stop spreading this. All it does is give wrong instruction and diverts people who should instead read http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
i don't understand why is such a simple problem turning into drama On Sat, Apr 7, 2012 at 2:10 PM, Nick Holland n...@holland-consulting.net wrote: On 04/06/12 07:35, Dan Shechter wrote: Hi, Sorry for the newbe question, but what is wrong with what he is doing? Best regards, Dan First of all, OpenBSD is completely free software. B we can not, nor do we want to stop anyone from making their own project (or product) based on OpenBSD. B That doesn't mean we always like it. The problem comes in when people create things that are no longer OpenBSD, then the users come to our lists and developers expecting help. B Or develop an opinion of OpenBSD based on these non-OpenBSD projects. This is often due to lack of maintenance on the part of those projects -- they put something together because they feel they need it, they think, this is pretty cool, set up a website, make a logo, and ta-da, a project is born...and often, that's how it stays. We also don't like misinformation...for example, this from another part of the thread: can't install in the first place if your only bootable media can be usb sticks. the alternative to downloading premade images is making them in qemu, which is more work for little gain That's ONE alternative. B Roughly equivalent to turning right by turning left three times (reverse for Drive-on-Left countries). B You can take your USB stick and an OpenBSD CD to any same-platform computer in the world that can boot from CD and has a USB port and build an install device there using standard processes...and you know what you have and how you got it. that's outside the conditions. i am talking about a real world situation where i had ONE COMPUTER and it did not have a cd drive that's it. there's no other way to look at it
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
Andres Perera andres.p () zoho ! com if you cant install through network because you only got one machine So you can't install OpenBSD but you CAN download the pre-made OpenBSD images? and feel that guerrilla overwriting your mbr after installing the locks within another os in order to do a hdd boot is too risky, you're left with this I've used OpenBSD in a multiboot and it was working perfectly fine, no guerilla there. the page you linked does not provide that It does not, since the page is for a specific purpose. If you take your time and go back to the root of FAQ you may find what you are looking for. But I guess is nicer for you to spread crazy thing on the list.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Apr 06 09:47:01, Mihai Popescu wrote: Andres Perera andres.p () zoho ! com if you cant install through network because you only got one machine So you can't install OpenBSD but you CAN download the pre-made OpenBSD images? and feel that guerrilla overwriting your mbr after installing the locks within another os in order to do a hdd boot is too risky, you're left with this I've used OpenBSD in a multiboot and it was working perfectly fine, no guerilla there. the page you linked does not provide that It does not, since the page is for a specific purpose. If you take your time and go back to the root of FAQ you may find what you are looking for. But I guess is nicer for you to spread crazy thing on the list. Please, don't feed this. This project brings nothing, and its page spreads disinformation. Just follow http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Fri, Apr 6, 2012 at 2:17 AM, Mihai Popescu mih...@gmail.com wrote: Andres Perera andres.p () zoho ! com if you cant install through network because you only got one machine So you can't install OpenBSD but you CAN download the pre-made OpenBSD images? need another machine for bootp and feel that guerrilla overwriting your mbr after installing the locks within another os in order to do a hdd boot is too risky, you're left with this I've used OpenBSD in a multiboot and it was working perfectly fine, no guerilla there. can't install in the first place if your only bootable media can be usb sticks. the alternative to downloading premade images is making them in qemu, which is more work for little gain the page you linked does not provide that It does not, since the page is for a specific purpose. If you take your time and go back to the root of FAQ you may find what you are looking for. But I guess is nicer for you to spread crazy thing on the list.
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
Hi, Sorry for the newbe question, but what is wrong with what he is doing? Best regards, Dan On Mon, Apr 2, 2012 at 8:56 AM, Jan Stary h...@stare.cz wrote: On Apr 01 21:30:58, Girish Venkatachalam wrote: After a long long time. Sigh. Please stop spreading this. All it does is give wrong instruction and diverts people who should instead read http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Apr 01 21:30:58, Girish Venkatachalam wrote: After a long long time. Sigh. Please stop spreading this. All it does is give wrong instruction and diverts people who should instead read http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
? he is hosting *pre-made* bootable usb images if you cant install through network because you only got one machine, don't have a cd drive (e.g. netbook), and feel that guerrilla overwriting your mbr after installing the locks within another os in order to do a hdd boot is too risky, you're left with this the page you linked does not provide that On Mon, Apr 2, 2012 at 1:26 AM, Jan Stary h...@stare.cz wrote: On Apr 01 21:30:58, Girish Venkatachalam wrote: After a long long time. Sigh. Please stop spreading this. All it does is give wrong instruction and diverts people who should instead read http://www.openbsd.org/faq/faq14.html#flashmemLive
Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated
On Mon, Apr 2, 2012 at 7:56 AM, Jan Stary h...@stare.cz wrote: On Apr 01 21:30:58, Girish Venkatachalam wrote: After a long long time. Sigh. Please stop spreading this. All it does is give wrong instruction and diverts people who should instead read http://www.openbsd.org/faq/faq14.html#flashmemLive http://www.undeadly.org/cgi?action=articlesid=20091208204922
LiveUSB OpenBSD and LiveCD-OpenBSD site updated
After a long long time. Sigh. http://liveusb-openbsd.sf.net http://livecd-openbsd.sf.net -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in
Olivebsd liveCD and using swap partitions
I hope this question is relevant here in this group. I've just downloaded the Olivebsd CD, to try it out on my Laptop. I've got a 500Mb free partition doing nothing. Can that be utilised as a swap partition to be used when the CD is running, or is it possible to create a swap file on a FAT32 partition(or even better, is it possible to use a windows pagefile which is not located on an NTFS partition? Note that my laptop is currently exclusivly used by Windows XP. Thanks Mark
Re: Olivebsd liveCD and using swap partitions
On Tue, 1 Apr 2008 14:06:26 +0100, Mark Gary wrote I hope this question is relevant here in this group. I've just downloaded the Olivebsd CD, to try it out on my Laptop. I've got a 500Mb free partition doing nothing. Can that be utilised as a swap partition to be used when the CD is running, or is it possible to create a swap file on a FAT32 partition(or even better, is it possible to use a windows pagefile which is not located on an NTFS partition? Note that my laptop is currently exclusivly used by Windows XP. Thanks Mark 1. OliveBSD is several years out of date; it is based on OpenBSD 3.8. 4.2 is the current release, 4.3 will be released in 30 days. 2. I can't speak to OliveBSD, as I have never run it, nor looked at its documentation. You can manually add any OpenBSD addressable partition or any non-sparse file on an ffs filesystem as swap space via swapon(8) or swapctl(8). However, OliveBSD may or may not not be able to boot if you have insufficient RAM and no pre-configured swap space. You'll have to examine OliveBSD's documentation for guidance. 3. The only default swap space -- by default, I mean not configured by the administrator in /etc/fstab -- is the b partition of the boot drive, if the disklabel has a b partition with a filesystem type of SWAP. Everything else must be in /etc/fstab or manually configured. I'm not as famous as OliveBSD, but I offer a set of about a dozen different 4.2-based OpenBSD LiveCDs and LiveDVDs -- they do not have any swap space configured, and require a varying minimum amount of RAM to boot and run, anywhere from 96-288MB of RAM. If you were familiar with OpenBSD administration, you could boot one of my LiveCDs or LiveDVDS into single-user mode, configure swap space on a hard drive, then continue operation in multi-user mode, perhaps extending their usabililty below these minimums. OliveBSD may let you do something like that; or, it may not. www.jggimi.homeip.net is the top web page if you'd like to take a look.
Re: Olivebsd liveCD and using swap partitions
01.04.08, 17:06, Mark Gary [EMAIL PROTECTED]: I hope this question is relevant here in this group. I've just downloaded the Olivebsd CD, to try it out on my Laptop. I've got a 500Mb free partition doing nothing. Can that be utilised as a swap partition to be used when the CD is running, or is it possible to create a swap file on a FAT32 partition(or even better, is it possible to use a windows pagefile which is not located on an NTFS partition? http://www.openbsd.org/faq/faq14.html#SwapFile Note that my laptop is currently exclusivly used by Windows XP. Thanks Mark
Re: Help with LiveCD/LIveDVD
Hi, sorry for the very late reply, but my obsd.misc mail folder has grown to 3000 mails during the last couple weeks while I was busy moving. Anyway, I'm as the original author of said page can confirm (sadly) that you might run into a (known!?) cdboot bug. For some reason cdboot can't boot a DVD exceeding a certain size and or containing more than a certain amount of files. There is a rather ugly, but at least working way around. Josh Grosse found it while building his live CDs, which can be found here, btw.: http://jggimi.homeip.net/livecd/faq.html The problem arouse with the KDE ones, the solution is to pack /usr/local into its own .iso (or perhaps a vnc mounted image would work as well) and mount it during startup. I did not build a LiveCD for a long time myself, but I hope too have free time coming up and will then update the instructions where necessary. Regards, ahb On Mon, Oct 22, 2007 at 09:35:18AM -0500, Ted M. Goodridge, Jr. wrote: qemu doesn't work for some reason. Anytime I try and use qemu I get the error Cannot initialize SDL library... Yes, I have tried it in different hardware. What exactly do cdbr and cdboot do? I get the screen that says OpenBSD boot loader (with the hardware fd1 etc listed), with the Loading /CDBOOT above it and it just hangs. cdbr is listed in the installation instructions as the cdboot loader. cdboot is the second stage boot loader IIRC. Don't hesitate to correct me if I'm wrong here. The help is apprecitated. I'm not trying to make install media (that would actually be easy), just boot this liveCD. Has anyone else gotten a LiveDVD to work? Ted On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther [EMAIL PROTECTED] wrote: On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: Hello all, Please CC to me directly as I am offlist... Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated Have you tested the .iso in QEMU? Have you tried it on different hardware? Maybe it's because it's a DVD (DVDs might need more drivers than the boot loader has? Maybe try cdboot instead of cdbr? -Nick -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Help with LiveCD/LIveDVD
Hello all, Please CC to me directly as I am offlist... I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot. I know this is an unofficial page, but I followed the instructions here: http://openbsd-wiki.org/index.php?title=LiveCD I'm using 4.1 because of the libraries required on the LiveDVD. This LiveDVD is used for in-house hardware diagnostics with customized programs written for BSD. I thought it would be easier to boot from CD rather than installing OpenBSD on every machine we need to use as a hardware testbed. The only changes I made to the above instructions were to copy the backup/{} directories instead of tar'ing them and unzipping them. Everything works fine until the hang on boot with the message: Loading CBDR.. The disc then fails to boot. Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated. Ted Goodridge
Re: Help with LiveCD/LIveDVD
On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: Hello all, Please CC to me directly as I am offlist... Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated Have you tested the .iso in QEMU? Have you tried it on different hardware? Maybe it's because it's a DVD (DVDs might need more drivers than the boot loader has? Maybe try cdboot instead of cdbr? -Nick
Re: Help with LiveCD/LIveDVD
qemu doesn't work for some reason. Anytime I try and use qemu I get the error Cannot initialize SDL library... Yes, I have tried it in different hardware. What exactly do cdbr and cdboot do? I get the screen that says OpenBSD boot loader (with the hardware fd1 etc listed), with the Loading /CDBOOT above it and it just hangs. cdbr is listed in the installation instructions as the cdboot loader. cdboot is the second stage boot loader IIRC. Don't hesitate to correct me if I'm wrong here. The help is apprecitated. I'm not trying to make install media (that would actually be easy), just boot this liveCD. Has anyone else gotten a LiveDVD to work? Ted On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther [EMAIL PROTECTED] wrote: On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: Hello all, Please CC to me directly as I am offlist... Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated Have you tested the .iso in QEMU? Have you tried it on different hardware? Maybe it's because it's a DVD (DVDs might need more drivers than the boot loader has? Maybe try cdboot instead of cdbr? -Nick -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Help with LiveCD/LIveDVD
Just an update...it hangs on the message Loading /CDBOOT not cdbr as previously posted. Sorry about that. CC me directly as I am offlist. Ted Goodridge -- Hello all, Please CC to me directly as I am offlist... I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot. I know this is an unofficial page, but I followed the instructions here: http://openbsd-wiki.org/index.php?title=LiveCD I'm using 4.1 because of the libraries required on the LiveDVD. This LiveDVD is used for in-house hardware diagnostics with customized programs written for BSD. I thought it would be easier to boot from CD rather than installing OpenBSD on every machine we need to use as a hardware testbed. The only changes I made to the above instructions were to copy the backup/{} directories instead of tar'ing them and unzipping them. Everything works fine until the hang on boot with the message: Loading CBDR.. The disc then fails to boot. Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated. Ted Goodridge -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Help with LiveCD/LIveDVD
cdbr is listed in the installation instructions as the cdboot loader. cdboot is the second stage boot loader IIRC. Don't hesitate to correct me if I'm wrong here. Oh, no, that sounds about right, I guess. The help is apprecitated. I'm not trying to make install media (that would actually be easy), just boot this liveCD. Has anyone else gotten a LiveDVD to work? Ted If you make a LiveCD (not DVD) does it work? The How-to says you can use this to build a LiveDVD. I thought that the bios booted the same if it was a dvd or a cd...? I really need the space a DVD offers. Does the CD boot loader have trouble with DVDs? Ted
Re: Help with LiveCD/LIveDVD
On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: On Mon, 22 Oct 2007 09:21:06 -0500, Nick Guenther [EMAIL PROTECTED] wrote: On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: Hello all, Please CC to me directly as I am offlist... Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated Have you tested the .iso in QEMU? Have you tried it on different hardware? Maybe it's because it's a DVD (DVDs might need more drivers than the boot loader has? Maybe try cdboot instead of cdbr? -Nick qemu doesn't work for some reason. Anytime I try and use qemu I get the error Cannot initialize SDL library... Is SDL installed right? Wait.. are you running in X or console? Qemu needs graphics. Yes, I have tried it in different hardware. What exactly do cdbr and cdboot do? I get the screen that says OpenBSD boot loader (with the hardware fd1 etc listed), with the Loading /CDBOOT above it and it just hangs. cdbr is listed in the installation instructions as the cdboot loader. cdboot is the second stage boot loader IIRC. Don't hesitate to correct me if I'm wrong here. Oh, no, that sounds about right, I guess. The help is apprecitated. I'm not trying to make install media (that would actually be easy), just boot this liveCD. Has anyone else gotten a LiveDVD to work? Ted If you make a LiveCD (not DVD) does it work? -Nick
Re: Help with LiveCD/LIveDVD
On 10/22/07, Ted M. Goodridge, Jr. [EMAIL PROTECTED] wrote: cdbr is listed in the installation instructions as the cdboot loader. cdboot is the second stage boot loader IIRC. Don't hesitate to correct me if I'm wrong here. Oh, no, that sounds about right, I guess. The help is apprecitated. I'm not trying to make install media (that would actually be easy), just boot this liveCD. Has anyone else gotten a LiveDVD to work? Ted If you make a LiveCD (not DVD) does it work? The How-to says you can use this to build a LiveDVD. I thought that the bios booted the same if it was a dvd or a cd...? I really need the space a DVD offers. Yeah you'd think that. But don't trust it. Does the CD boot loader have trouble with DVDs? It might. Who knows? CDs are a much more standard technology. Try it first with CDs and make sure that works. Always work from a known good, right? You could always netboot (PXE) these computers, you know. -Nick
Re: Help with LiveCD/LIveDVD
Hi, I hope you succeed. I'd be very itnerested in a live cd/dvd for obsd. As you say, it's ideal to test hardware, but I don't have to time to do it myself. Btw, why obsd 4.1? Do you plan to upload the iso to some site? There were some projects, like quetzal and olivebsd, but they died, I think. good luck, Pau 2007/10/22, Ted M. Goodridge, Jr. [EMAIL PROTECTED]: Hello all, Please CC to me directly as I am offlist... I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot. I know this is an unofficial page, but I followed the instructions here: http://openbsd-wiki.org/index.php?title=LiveCD I'm using 4.1 because of the libraries required on the LiveDVD. This LiveDVD is used for in-house hardware diagnostics with customized programs written for BSD. I thought it would be easier to boot from CD rather than installing OpenBSD on every machine we need to use as a hardware testbed. The only changes I made to the above instructions were to copy the backup/{} directories instead of tar'ing them and unzipping them. Everything works fine until the hang on boot with the message: Loading CBDR.. The disc then fails to boot. Relevant info: --- I'm burning a re-writable DVD using the above instructions The mkisofs command to burn the image is as follows: /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd Any help would be greatly appreciated. I'm pushing against a deadline, so any tips / pointers / suggestions are also appreciated. Ted Goodridge
Re: LiveCD
On Sun, Dec 24, 2006 at 01:34:47PM -0800, Passeur wrote: Alright sorry guys I thought it was the official WIKI website. Anyway let say I can not use QEMU, which is the case, what would you recommend to build a live CD ? Having a second machine ? Even virtual, or can we bypass this step as the other LiveCD FAQS do not even talk about a second host. You do not _need_ a seperate installation, but it makes stuff much easier than installing everything into a chroot (incl. packages). If you want further advice lets take this private. Regards, ahb Andreas Bihlmaier-2 wrote: On Sat, Dec 23, 2006 at 03:49:25PM -0800, Passeur wrote: Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) This is not official. qemu-img create ~/livecd.qemu.hd0 2G Ran fine, I have got a 2GB virtual drive. qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d Error message after validation of the previous command: Could not initialize SDL - Exiting What you just did is using qemu, doesn't have anything to do with LiveCD, thus you might want to bug ports@ about it. In order to help post: - dmesg - pkg_info - qemu -h | grep version I have some articles and they were talking about the fact we need to recomp the Kernell with SDL support ? Is that so ? Kernel with SDL support? WTF? No you do not need to change your kernel for userland stuff. Thank you Regards, ahb Btw. (for those enjoying christian traditions): Merry Christmas -- View this message in context: http://www.nabble.com/LiveCD-building-error-tf2875827.html#a8043613 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: LiveCD
On Sat, Dec 23, 2006 at 03:49:25PM -0800, Passeur wrote: Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) This is not official. qemu-img create ~/livecd.qemu.hd0 2G Ran fine, I have got a 2GB virtual drive. qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d Error message after validation of the previous command: Could not initialize SDL - Exiting What you just did is using qemu, doesn't have anything to do with LiveCD, thus you might want to bug ports@ about it. In order to help post: - dmesg - pkg_info - qemu -h | grep version I have some articles and they were talking about the fact we need to recomp the Kernell with SDL support ? Is that so ? Kernel with SDL support? WTF? No you do not need to change your kernel for userland stuff. Thank you Regards, ahb Btw. (for those enjoying christian traditions): Merry Christmas
Re: LiveCD
Passeur wrote: Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) Ok, modified front page: http://www.openbsd-wiki.org/index.php?title=Main_Pagediff=1889oldid=1851 Sorry to cause the misunderstanding. As others have said, it's not an official website. Kenny
Re: LiveCD
Alright sorry guys I thought it was the official WIKI website. Anyway let say I can not use QEMU, which is the case, what would you recommend to build a live CD ? Having a second machine ? Even virtual, or can we bypass this step as the other LiveCD FAQS do not even talk about a second host. Andreas Bihlmaier-2 wrote: On Sat, Dec 23, 2006 at 03:49:25PM -0800, Passeur wrote: Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) This is not official. qemu-img create ~/livecd.qemu.hd0 2G Ran fine, I have got a 2GB virtual drive. qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d Error message after validation of the previous command: Could not initialize SDL - Exiting What you just did is using qemu, doesn't have anything to do with LiveCD, thus you might want to bug ports@ about it. In order to help post: - dmesg - pkg_info - qemu -h | grep version I have some articles and they were talking about the fact we need to recomp the Kernell with SDL support ? Is that so ? Kernel with SDL support? WTF? No you do not need to change your kernel for userland stuff. Thank you Regards, ahb Btw. (for those enjoying christian traditions): Merry Christmas -- View this message in context: http://www.nabble.com/LiveCD-building-error-tf2875827.html#a8043613 Sent from the openbsd user - misc mailing list archive at Nabble.com.
LiveCD
Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) qemu-img create ~/livecd.qemu.hd0 2G Ran fine, I have got a 2GB virtual drive. qemu -hda ~/livecd.qemu.hd0 -cdrom /home/cd40.iso -boot d Error message after validation of the previous command: Could not initialize SDL - Exiting I have some articles and they were talking about the fact we need to recomp the Kernell with SDL support ? Is that so ? Thank you -- View this message in context: http://www.nabble.com/LiveCD-tf2875827.html#a8038010 Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: LiveCD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 23, 2006, at 3:49 PM, Passeur wrote: Hi, I am trying to build a live CD based on the official OpenBSD article. (http://www.openbsd-wiki.org/index.php?title=LiveCD) Nothing official' about it. They do not preach that their God will rouse them a little before the nuts work loose. iD8DBQFFjeL25B7p9jYarz8RAqLMAJ4s96wLOUGy3iFhUjuHRYHgzr/LbQCgkh+w wMv2MSjaFsiHb9MxZbTyUgs= =5GYn -END PGP SIGNATURE-
Re: livecd error
On Sun, Dec 03, 2006 at 03:31:41AM +0100, Tobias Weisserth wrote: Hi, I hope this is not considered thread-highjacking but it sort of fits into this thread, so here it goes: I'm trying to follow these instructions to build a live CD based on 4.0 stable: http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html I start to dislike google (I know it is not googles fault), above is WAY outdated! Here are the up-to-date instructions: http://www.openbsd-wiki.org/index.php?title=LiveCD snip Regards, ahb
Re: livecd error
On Sun, Dec 03, 2006 at 01:16:44PM +0100, Tobias Weisserth wrote: Hi, On Dec 3, 2006, at 11:48 AM, Andreas Bihlmaier wrote: On Sun, Dec 03, 2006 at 03:31:41AM +0100, Tobias Weisserth wrote: Hi, I hope this is not considered thread-highjacking but it sort of fits into this thread, so here it goes: I'm trying to follow these instructions to build a live CD based on 4.0 stable: http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html I start to dislike google (I know it is not googles fault), above is WAY outdated! Here are the up-to-date instructions: http://www.openbsd-wiki.org/index.php?title=LiveCD Andreas, it's nice that you wrote that WIKI article and it's nice that you already pointed out where to find it before in this thread, but your blatant advertising of it when I explicitly asked how to fix come on you can't be serious-^ an issue not related to it, isn't helpful at all. Well, the issue is that the kernel grows because of new drivers, but size of an emulated 2.88MB floppy doesn't grow. You either have to rip stuff out of the kernel or use the new method. I'd like to understand how the stuff in distrib works and playing with the instructions of Kevin Lo seems a good idea to me. Well I thought you just wanted to get it working ;) I'll gladly try your instructions when I'm done understanding the stuff in distrib though, I noticed that you invested a lot of time in it and seems to be very detailed. regards, Tobias Regards, ahb
Re: livecd error
Hi, I hope this is not considered thread-highjacking but it sort of fits into this thread, so here it goes: I'm trying to follow these instructions to build a live CD based on 4.0 stable: http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html I'm in trouble when building the RAMDISK kernel with the modified Makefile.inc: cd /usr/src/distrib/i386/ramdisk_cd make make stops with an error because it tries to copy too much into a mounted device with too little space: ###make output### ... rm -f bsd ld -Ttext 0xD0200120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o textdatabss dec hex 4730816 2163584 867984 7762384 7671d0 cp /usr/src/distrib/i386/ramdisk_cd/../../../sys/arch/i386/compile/RAMDISK_CD/bsd bsd cc -DDEBUG -o rdsetroot /usr/src/distrib/i386/ramdisk_cd/../../common/elfrdsetroot.c cp bsd bsd.rd /usr/src/distrib/i386/ramdisk_cd/rdsetroot bsd.rd mr.fs segment 0 rd_root_size_off = 0x490740 rd_root_image_off = 0x490760 rd_root_size val: 0x001DB000 (3800 blocks) copying root image... ...copied 1945600 bytes cp bsd.rd bsd.strip strip -s -R .comment -K cngetc bsd.strip gzip -c9 bsd.strip bsd.gz dd if=/dev/zero of=/var/tmp/image.27740 bs=10k count=288 288+0 records in 288+0 records out 2949120 bytes transferred in 0.271 secs (10881719 bytes/sec) vnconfig -v -c svnd0 /var/tmp/image.27740 svnd0: 2949120 bytes on /var/tmp/image.27740 disklabel -w -r svnd0 floppy288 newfs -m 0 -o space -i 524288 -c 80 /dev/rsvnd0a /dev/rsvnd0a: 5760 sectors in 80 cylinders of 2 tracks, 36 sectors 2.8MB in 1 cyl groups (80 c/g, 2.81MB/g, 32 i/g) super-block backups (for fsck -b #) at: 32, mount /dev/svnd0a /mnt cp /usr/mdec/boot /usr/src/distrib/i386/ramdisk_cd/boot strip -s -R .comment -K cngetc /usr/src/distrib/i386/ramdisk_cd/boot dd if=/usr/src/distrib/i386/ramdisk_cd/boot of=/mnt/boot bs=512 77+1 records in 77+1 records out 39572 bytes transferred in 0.016 secs (2371001 bytes/sec) dd if=bsd.gz of=/mnt/bsd bs=512 /mnt: write failed, file system is full dd: /mnt/bsd: No space left on device 5601+0 records in 5600+0 records out 2867200 bytes transferred in 1.233 secs (2324260 bytes/sec) *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 30 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc). # I haven't really understood what the 2.8MB device is for regarding the whole process. Can anybody explain and propose a solution? Can't I just copy the stuff to another device, that's bigger? If this is just for creating a floppy image that's bootable and is insignificant regarding my live CD, can I just delete these instructions from Makefile.inc? The instructions by Kevin Lo say: In the /usr/src/distrib/i386/ramdisk_cd directory, copy the two files bsd and cdrom36.fs to the /livecd directory. The cdrom36.fs in my case would be cdrom40.fs and has a fliesize bigger than 2.8MB anyway? I'm not able to spot any reference to any cdrom{version}.fs file being created in the Makefile.inc. What's my problem? Since I haven't been able to apply the patch to /usr/src/distrib/i386/common/Makefile.inc with patch I deleted the lines with a - in front of it in the patch file and added the lines with the + at the appropriate lines. Just to avoid simple mistakes, I'll include the whole Makefile.inc here. Sorry, if this is not appropriate. Makefile.inc## # $OpenBSD: Makefile.inc,v 1.15 2004/11/25 22:02:08 deraadt Exp $ TOP=${.CURDIR}/.. .include ${TOP}/Makefile.inc IMAGE= mr.fs CBIN?= instbin CRUNCHCONF?=${CBIN}.conf LISTS?= ${.CURDIR}/../common/list UTILS?= ${.CURDIR}/../../miniroot MOUNT_POINT=/mnt MTREE= ${UTILS}/mtree.conf XNAME?= floppy FS?=${XNAME}${REV}.fs VND?= svnd0 VND_DEV=/dev/${VND}a VND_RDEV= /dev/r${VND}a VND_CRDEV= /dev/r${VND}c PID!= echo REALIMAGE!= echo /var/tmp/image.${PID} BOOT= ${DESTDIR}/usr/mdec/boot FLOPPYSIZE?=144 FLOPPYTYPE?=floppy3 all:${FS} ${FS}: bsd.gz dd if=/dev/zero of=${REALIMAGE} bs=10k count=${FLOPPYSIZE} vnconfig -v -c ${VND} ${REALIMAGE} disklabel -w -r ${VND} ${FLOPPYTYPE} newfs -m 0 -o space -i 524288 -c 80 ${VND_RDEV} mount ${VND_DEV} ${MOUNT_POINT} cp ${BOOT} ${.OBJDIR}/boot strip -s -R .comment -K cngetc ${.OBJDIR}/boot dd if=${.OBJDIR}/boot of=${MOUNT_POINT}/boot bs=512 dd if=bsd.gz of=${MOUNT_POINT}/bsd bs=512 /usr/mdec/installboot -v ${MOUNT_POINT}/boot \ ${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV} @echo @df -i ${MOUNT_POINT} @echo umount ${MOUNT_POINT} vnconfig -u ${VND} cp ${REALIMAGE} ${FS} rm ${REALIMAGE} DISKTYPE?= rdroot NBLKS?= 3800 # minfree, opt, b/i trks, sects, cpg NEWFSARGS= -m 0 -o space -c 16 -i 4096 bsd.gz: bsd.rd cp bsd.rd
livecd error
Hi, im trying to make a obsd livecd i use the instructions in http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html but in one step i get /usr/bin/ld: cannot find -lstubs collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 10 of instbin.mk). *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 109 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc). what can i do to solve the problem?
Re: livecd error
On Wed, Nov 29, 2006 at 09:05:35AM -0700, Carlos A. Garcia G. wrote: Hi, im trying to make a obsd livecd i use the instructions in http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html but in one step i get /usr/bin/ld: cannot find -lstubs collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 10 of instbin.mk). *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 109 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc). what can i do to solve the problem? Use newer (better ;) instructions: http://openbsd-wiki.org/index.php/LiveCD Regards, ahb
Re: livecd error
From my notes (this is apparently the old way to do it, but it might work for you as a quick fix): Error: /usr/bin/ld: cannot find -lstubs Problem: /usr/src/distrib/special/libstubs/libstubs.a does not exist Fix: cd /usr/src/distrib/special/libstubs make Bill On Wed, 2006-11-29 at 09:05 -0700, Carlos A. Garcia G. wrote: Hi, im trying to make a obsd livecd i use the instructions in http://www.onlamp.com/pub/a/bsd/2005/07/14/openbsd_live.html but in one step i get /usr/bin/ld: cannot find -lstubs collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 10 of instbin.mk). *** Error code 1 Stop in /usr/src/distrib/i386/ramdisk_cd (line 109 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc). what can i do to solve the problem?
Re: new LiveCD instructions for OpenBSD
Just an update to this: Kenny Mann ([EMAIL PROTECTED]) contacted be about www.openbsd-wiki.org he built and hosts. For one I'd like to thank him for doing this. Secondly I put my instructions there as well: http://openbsd-wiki.org/index.php/LiveCD Much easier to read than the old .txt description. Regards, ahb
Re: new LiveCD instructions for OpenBSD
On 25/10/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Just an update to this: Kenny Mann ([EMAIL PROTECTED]) contacted be about www.openbsd-wiki.org he built and hosts. For one I'd like to thank him for doing this. I smell a user-maintained live and annotated HCL (hardware compatibility list). Secondly I put my instructions there as well: http://openbsd-wiki.org/index.php/LiveCD Much easier to read than the old .txt description. Superb. Forget John Romero; Andreas Bihlmaier has made me his biatch. ;o)
Re: new LiveCD instructions for OpenBSD
On 10/23/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Hello misc@, Quite a few people sent me emails about my earier instructions, I posted here some time ago: http://marc.theaimsgroup.com/?l=openbsd-miscm=1 Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. They are far from perfect, but it works reasonably well (for me). With the instructions you can either create a CD or DVD. I'm too tired to test on amd64 at the moment, but it _should_ work exactly the same (that is one of the reasons I love OpenBSD, no as much pitfalls as in other OS). Also thanks to Stuart Henderson for his recent post about the new CD boot method: http://marc.theaimsgroup.com/?l=openbsd-miscm=115926553800205w=2 Regards, ahb Best viewed using vim: tw=80; syn on; filetype=conf #--- OpenBSD LiveCD ---# - word # are 'links' to my private documentation, just ignore [...] # Burn the image as usuall: cdrecord -speed=12 -overburn -data livecd.iso # CD growisofs -dvd-compat -Z /dev/rcd1c=/home/livecd.iso# DVD # - brennen - cdrecord - growisofs #--# Oh you win forever!! Thank you so much. In 9 days when 4.0 goes up for download this is the first thing I'm doing. Thank you! -Nick
Re: new LiveCD instructions for OpenBSD
On Tue, Oct 24, 2006 at 08:25:52AM +0900, vladas wrote: On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. Is this LiveCD/DVD reliable enough to send in dmesg's from it? Exuse me, but I don't see a point in posting a dmesg for a livecd, which by definition is portable. The dmesg depends on the machine I insert it into. If the question was: Does it really work? Yes, it does quite well, today I had the chance to test it with 10 different machines, all worked. Slowest was a pIII-500 with 128MB RAM, top showed 75MB mem usage after booting into X and with several apps started. One thing that bothers me is that I can only boot from the first CD drive, because cd0 is hardcoded in several places, but most of the time this doesn't matter. Regards, ahb
Re: new LiveCD instructions for OpenBSD
On Mon, Oct 23, 2006 at 06:39:35PM -0500, Sam Fourman Jr. wrote: I have been looking for a OpenBSD Kismet Live DVD with a X Front end, I wonder if a person could actually have Kismet and x on a Live DVD? or would it have to be able to write to a Disk? Sam Fourman Jr. You might be able to fit everything on a normal 700MB CD, I need a 800MB CD for all my important apps, btw. this is all in the instructions. You'll need something to save your kismet logs to before shutting down, of course. At runtime everything gets written to MFS partitions - kismet works. Regards, ahb
Re: new LiveCD instructions for OpenBSD
On Tue, Oct 24, 2006 at 02:37:05PM +0200, Andreas Bihlmaier wrote: On Tue, Oct 24, 2006 at 08:25:52AM +0900, vladas wrote: On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Is this LiveCD/DVD reliable enough to send in dmesg's from it? Exuse me, but I don't see a point in posting a dmesg for a livecd, which by definition is portable. The dmesg depends on the machine I insert it into. I /believe/ the poster is asking whether it can be used to plug into $RANDOM_MACHINE and mail a dmesg from that machine. Nice for scoping out potential OpenBSD systems in a shop provided you can get the sales droids to look away long enough for the reboot.
Re: new LiveCD instructions for OpenBSD
On Tue, Oct 24, 2006 at 04:12:00AM -0400, Nick Guenther wrote: On 10/23/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Hello misc@, Quite a few people sent me emails about my earier instructions, I posted here some time ago: http://marc.theaimsgroup.com/?l=openbsd-miscm=1 Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. They are far from perfect, but it works reasonably well (for me). With the instructions you can either create a CD or DVD. I'm too tired to test on amd64 at the moment, but it _should_ work exactly the same (that is one of the reasons I love OpenBSD, no as much pitfalls as in other OS). Also thanks to Stuart Henderson for his recent post about the new CD boot method: http://marc.theaimsgroup.com/?l=openbsd-miscm=115926553800205w=2 useful part snipped Nick, I run out of words to thank you. :-) You probably have no idea how much this is going to help me. Thanks a million dear friend. regards, Girish
Re: new LiveCD instructions for OpenBSD
On Tue, Oct 24, 2006 at 01:51:45PM +, Ryan McBride wrote: On Tue, Oct 24, 2006 at 02:37:05PM +0200, Andreas Bihlmaier wrote: On Tue, Oct 24, 2006 at 08:25:52AM +0900, vladas wrote: On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Is this LiveCD/DVD reliable enough to send in dmesg's from it? Exuse me, but I don't see a point in posting a dmesg for a livecd, which by definition is portable. The dmesg depends on the machine I insert it into. I /believe/ the poster is asking whether it can be used to plug into $RANDOM_MACHINE and mail a dmesg from that machine. Nice for scoping out potential OpenBSD systems in a shop provided you can get the sales droids to look away long enough for the reboot. Of course! Actually that was my very first motivation to even build an OpenBSD livecd. Wherever I encounter an 'interesting' machine (i386/amd64) I put the livecd in to see how good this machine would be supported. One thing I noted since my first livecd with 3.7: much more machines just work PERFECT (at least by dmesg output), even the weird P4s we have at school. The problem is that the boot sequence seems to scare some windows users: What are all those messages, you didn't you wrack my PC, did you? ;) Regards, ahb
Re: new LiveCD instructions for OpenBSD
Andreas Bihlmaier wrote: On Tue, Oct 24, 2006 at 01:51:45PM +, Ryan McBride wrote: On Tue, Oct 24, 2006 at 02:37:05PM +0200, Andreas Bihlmaier wrote: On Tue, Oct 24, 2006 at 08:25:52AM +0900, vladas wrote: On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Is this LiveCD/DVD reliable enough to send in dmesg's from it? Exuse me, but I don't see a point in posting a dmesg for a livecd, which by definition is portable. The dmesg depends on the machine I insert it into. I /believe/ the poster is asking whether it can be used to plug into $RANDOM_MACHINE and mail a dmesg from that machine. Nice for scoping out potential OpenBSD systems in a shop provided you can get the sales droids to look away long enough for the reboot. Of course! Actually that was my very first motivation to even build an OpenBSD livecd. Wherever I encounter an 'interesting' machine (i386/amd64) I put the livecd in to see how good this machine would be supported. One thing I noted since my first livecd with 3.7: much more machines just work PERFECT (at least by dmesg output), even the weird P4s we have at school. The problem is that the boot sequence seems to scare some windows users: What are all those messages, you didn't you wrack my PC, did you? ;) Regards, ahb So true, I once used a floppy based linux (I'm sorry posting this on a OpenBSD mailing list) distribution in media lab at school with the lynx browser on it. The librarian kicked me out almost immediately because I was hacking the network... I was only using a text based browser because of the slow network.. Frank
new LiveCD instructions for OpenBSD
Hello misc@, Quite a few people sent me emails about my earier instructions, I posted here some time ago: http://marc.theaimsgroup.com/?l=openbsd-miscm=1 Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. They are far from perfect, but it works reasonably well (for me). With the instructions you can either create a CD or DVD. I'm too tired to test on amd64 at the moment, but it _should_ work exactly the same (that is one of the reasons I love OpenBSD, no as much pitfalls as in other OS). Also thanks to Stuart Henderson for his recent post about the new CD boot method: http://marc.theaimsgroup.com/?l=openbsd-miscm=115926553800205w=2 Regards, ahb Best viewed using vim: tw=80; syn on; filetype=conf #--- OpenBSD LiveCD ---# - word # are 'links' to my private documentation, just ignore # Since there isn't an official OpenBSD Live CD/DVD we will create one. # We try to stick to the 'default system' as far as possible, this makes # maintenance much easier. # We need a current system and create a release with source code # - release # Alternatively you could use OpenBSD stable/release with matching source code # For the paranoid, like myself, using a more strict umask than 022 (e.g. 027): umask 022 # XXX IMPORTANT for everything that follows! # Create a directory, this will become root '/' on the CD. # NOTE: If there is not enough free space on '/usr' you have to choose a # different directory (of course you can do so anyway) and change the paths in # all following commands accordingly. # If you like copy/paste create a link from /usr/livecd to /path/foodir mkdir -p /usr/livecd/backups/dev; chmod 755 /usr/livecd/backups/dev # COMPLICATED way SKIP this! (Life is to short for this kind of stuff!) # extract sets and manually adjust everything, normally done by install # SIMPLE way to get this done # Grab an empty hard drive and make a fresh nice and SLIM install of OpenBSD. As # said above you need the source code to the version you install! # HINT: Against all good practices ONLY create an 'a' partition since it will # make creating the CD much easier than having multiple partitions. # This includes all packages/ports you want to be on the CD. # CD: X fine, but gets tight with (X) ports. # CD 800MB: Most sets (including) X + a couple of (X) SLIM ports will fit. # Sets: ALL -game # DVD: Install whatever you want, there is lots of space. # Sets: ALL # You should configure the system EXACTLY like you want it to be on CD. # WARNING: # Some settings should be fairly generic, especially /etc/X11/xorg.conf should # use the vesa driver and a resolution of 1024x768! # X -configure will be run to autodetect settings, if this fails, there is a # fall back to generic xorg.conf, YOU put there. # NOTE: Set a DIFFERENT root password! # NOTE: You really want to start up X and login with your default user once # before proceeding, because we want .fonts.cache-1 to be created. # But shut X down again, before transferring files. # Configuration hints: # Remove: rm -rf /usr/{src,ports}/* # CD only, for DVD you might even extract them. rm /etc/ssh/*key* # Some might want to keep them, I don't # We don't want other people to have a look at our log files for log_file in `find /var/log -type f` do echo $log_file done # Now mount this partition with another OpenBSD system in order to create a # (compressed) tar archive. # NOTE: Do not forget the 'p' flag! cd /mnt/ tar pczf ~/livecd_root.tar.gz * # Of course you could also do this over the network, e.g.: # cd / tar pczf - / | ssh [EMAIL PROTECTED] 'cat ~/livecd_root.tar.gz' # We transfer this archive to our build machine and extract into our livecd # directory we created earlier: tar pxzf livecd_root.tar.gz -C /usr/livecd/ # We have to copy /var, /etc, /dev, /root and /home from /usr/livecd # to /usr/livecd/backup: # WARNING: Delete the shell history, viminfo and other documents we might # NOT want to have on our CD: cd /usr/livecd rm -i root/{.history,.viminfo} cd /usr/livecd rm -i home/*/{.history,.viminfo} cp -pR /usr/livecd/{var,etc,root,home} /usr/livecd/backups/ cp -pR /usr/livecd/dev/MAKEDEV /usr/livecd/backups/dev/ cd /usr/livecd ln -s tmp/xorg.conf.new xorg.conf.new # dirty trick, NEEDED! # WARNING: Check for permission issues in livecd directory # We have to create virtual partitions in memory (MFS) since we want them to be # faster and more important writeable. On boot the content of the tar files # located in /livecd/backups is extract into these MFS partitions. # We have to modify the etc/rc script in order for this to work: #--- /usr/livecd/etc/rc ---# # Create/mount mfs partitions, better do be done inside subshells echo -n 'Replacing with mfs:' echo -n ' /tmp'# Can be smaller (mount_mfs -s 204800 -o async,nosuid,nodev
Re: new LiveCD instructions for OpenBSD
On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. Is this LiveCD/DVD reliable enough to send in dmesg's from it?
Re: new LiveCD instructions for OpenBSD
I have been looking for a OpenBSD Kismet Live DVD with a X Front end, I wonder if a person could actually have Kismet and x on a Live DVD? or would it have to be able to write to a Disk? Sam Fourman Jr. On 10/23/06, vladas [EMAIL PROTECTED] wrote: On 10/24/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote: Now I finally got around to update my instructions on how to create an OpenBSD-based LiveCD/DVD. Is this LiveCD/DVD reliable enough to send in dmesg's from it?
LiveCD thread
A few months ago, i put together some intsructions for making a livecd, but didn't have the time to complete it, i'll post them here, and if anybody wants, we can work on it together and complete it and post it to the mailinglist and perhaps openbsdsupport.org ? So here we go : # cd /usr # export [EMAIL PROTECTED]:/cvs # cvs -d$CVSROOT checkout -P src # mkdir -p /livecd/backups/{var,etc,dev} # cp -pR /var /livecd/backups/var # cp -pR /etc /livecd/backups/etc # cp -pR /dev/MAKEDEV /livecd/backups/dev 1. # tar -zcvf livecd.tgz / # tar -zxvf livecd.tgz -C /livecd/ # rm -r /livecd/usr/src/* 2. # wget ftp://ftp.jyu.fi/pub/OpenBSD/snapshots/i386/base37.tgz # wget ftp://ftp.jyu.fi/pub/OpenBSD/snapshots/i386/etc37.tgz # tar -zxvf base37.tgz -C /livecd/ # tar -zxvf etc37.tgz -C /livecd/ # cd /usr/src/sys/arch/i386/conf # mv RAMDISK_CD RAMDISK_CD.OLD # cp GENERIC RAMDISK_CD # vi RAMDISK_CD - config bsd swap generic +optionRAMDISK_HOOKS +optionMINIROOTSIZE=3800 +configbsd root on cd0a # cd /usr # vi Makefile.in __ --- src/distrib/i386/common/Makefile.inc.origThu Mar 3 09:16:02 2005 +++ src/distrib/i386/common/Makefile.incThu Mar 3 09:16:32 2005 @@ -33,8 +33,7 @@ newfs -m 0 -o space -i 524288 -c 80 ${VND_RDEV} mount ${VND_DEV} ${MOUNT_POINT} cp ${BOOT} ${.OBJDIR}/boot -strip ${.OBJDIR}/boot -strip -R .comment ${.OBJDIR}/boot +strip -s -R .comment -K cngetc ${.OBJDIR}/boot dd if=${.OBJDIR}/boot of=${MOUNT_POINT}/boot bs=512 dd if=bsd.gz of=${MOUNT_POINT}/bsd bs=512 /usr/mdec/installboot -v ${MOUNT_POINT}/boot \ @@ -54,8 +53,7 @@ bsd.gz: bsd.rd cp bsd.rd bsd.strip -strip bsd.strip -strip -R .comment bsd.strip +strip -s -R .comment -K cngetc bsd.strip gzip -c9 bsd.strip bsd.gz bsd.rd:${IMAGE} bsd rdsetroot __ # patch -p0 Makefile.in # cd /usr/src/distrib/crunch make make install # cd /usr/src/distrib/i386/ramdisk_cd make # cd /usr/src/distrib/i386/ramdisk_cd # cp bsd cdrom37.fs /livecd/ # vi /livecd/etc/rc # vi /livecd/etc/fstab # vi /livecd/backups/etc/rc # vi /livecd/backups/etc/fstab # cd /livecd mkisofs -b cdrom37.fs -c boot.catalog -R -v -o /tmp/ livecd.iso /livecd # cdrecord -v speed=24 dev=/dev/rcd0c -data /tmp/livecd.iso The fstab and and rc files are available from the livecd article at oreilly. If anybody feels like creating a howto for creating a livecd, feel free to contact me.