General :: Custom Built Live CD Using Gentoo Not Booting Properly On All Machines?
Dec 12, 2009
I've been working on creating a Live CD with the tools I want, just for my use with system recovery and repair. For the most part, things have gone very well. The Live CD actually works fine, somewhat. I have run in to a problem where it doesn't actually boot on a lot of hardware.
What happens is during boot, while the modules are loading, the boot process hangs and the disc drive spins down. While I thought it might be a kernel problem, I'm using the .config from the latest gentoo Live CD, which boots fine on the same hardware.
I am using a linux kernel 2.6.36 using mips architecture. I have succesfully booted the machine through Flash memory, but it is not booting through nfs. It is getting stuck at the stage where the image starts loading. In short the vmlinux.img file is being copied properly to nfsroot but the image is not loading.
I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:
I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.
Code: # Power management and ACPI options CONFIG_ARCH_HIBERNATION_HEADER=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND_NVS=y CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_HIBERNATION=y .....
Had a custom kernel (126.96.36.199) running under Slackware 12.1 and also the same kernel on an Ubuntu 10.04 machine just fine, however after a clean install of Slackware 13.1 this kernel no longer works (This kernel was re-compiled with the same .config file under Slack 13.1) as I keep getting the the following: -Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3) The strange thing is it keeps looking for the root file system in hda1, however the stock 13.1 kernel finds it in /dev/sda1 so the root partition is /dev/sda1 in lilo and the harddisk is known as /dev/sda.
I am using uuntu 8.04 and I am trying to make live cd with running kernel. I know that there is documentation in ubuntu website in "how to make live cd" but the thing is this is my custom kernel. I have my own configuration. So I want this kernel to be work in live cd.
I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:
I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get: Code: ./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)
I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.
I have been able to successfully build a live Linux CD, the problem is during the course of setting up my new linux instance on my latop I had to install a few items (intel drivers). So got all the files and everything worked after manually installing, but wanted to try to rebuild the CD with all the files in the CD, rather than having to use a USB drive to put the file onto my laptop. When I made the changes to the configuration that I previously used(just edited the chroot file and did lh_build again) nothing happened the binary was no rebuilt. So some questions: If I am wanting to add files into a live CD build how do I do this? How do I rebuild a CD? or Is it possible? (i.e. I have to continually start from scratch each time).
So i have decided to start with backtrack as my first linux operating system. i have the live cd, it works just fine (tested with vmware) i have several options as to how to boot in, I choose my option but it just goes to a black screen unless i select boot using ram. I have 4gb memory, 500 gb hard drive, 2.5 ultimate core dual processor.
I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?
I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?
Ok so I've been all over Google trying to find an answer as to why my MPD server won't properly output over httpd. When I try to connect to it from any source, it gives me a "404:Entity Not Found" error. There hasn't been any useful info out there to solve this problem. Help please! Attached is my mpd.conf file. All my permissions and firewalls are set up properly AFAIK.
I'm using the Ultimate Boot CD, and I've added a bunch of customized .iso's to it. I can boot into those .iso files fine, but most of them are mini-versions of Linux that are designed to run off of a CD. When they try to boot, they try to run off the CD (which obviously isn't there since they're on a USB drive) and then either freeze, or don't work in some other way.
Is there any way to edit the .iso files to tell them they're booting off of a USB drive? I'm assuming there'd be something somewhere in the boot configuration files to do this. Where would that be? I would think it'd be different for different ones, but are there some places that are standard for live CDs? What would I have to change? EDIT: Just to make exactly what I'm asking clear...I know there's stuff all over the place on how to boot a .iso from USB. That's not the problem, I can already do that. What I'm wondering is how to make the OS stored in the .iso realize that it's booting from USB and not CD?
As far as I know the power went out once and my computer might have been on - now Ubuntu won't boot correctly. It boots into 'BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)'.
Code: mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands.
I'm trying to get back into Linux after a few years off.
I have tried booting from a Live CD using Flash Linux and Damn Small Linux.
Flash Linux reports unable to mount CDROM and then provides a command line - I assume I have the kernel, a shell and little else at this point? Can I mount the CD and continue?
DSL seems to do something similar but freezes with a blank screen. I have the option of entering parameters prior to booting with DSL (but not with Flash) I have tried the parameter which copies the CD to RAM and then boots without success.
I plan on installing Debian to my HD in the near future but felt like playing around with Live CDs prior to this in order to get reacquainted.
I have googled this issue and it seems there are other noobs out there with the same model of PC (HP DV6) who are having similar problems but I could not find a solution.
As an aside - this is the kind of issue that IMO, still prevents Linux from becoming a mainstream OS.
I'm an experienced Linux developer who has run into a little problem. I'm using a National Instruments 8170 chassis, among the normal ports, it has a FDD and USB port but this model does not allow booting from a USB CDROM ( I tried a BIOS update, that didn't help either ). I made this cool customized 550MB FC8 LiveCD wtih X, GCC, various apps, etc. and a kernel 2.6.30 & 2.6.18 boot floppy disk with all the needed drivers. The floppy boots to a shell with all the busybox utils, etc. and detects the USB CDROM media and all its files.
My Question is: How do I get the kernel and initrd on the Live CD to start or boot after booting from the Floppy disk ?, I mean, I want to load linux again but this time from the CD after booting linux from floppy, if that makes sense. I'm just using the floppy to boot and recognize the USB CDROM. This can be done with MSDOS and loadlin but loadlin has an issue(it hangs) with the newer kernels (2.6.18 and greater). I searched for the loadlin source code to port it to linux but was unable to find it on the net.
I have ubuntu 11.04 with virtualbox installed. I have some old vmware virtual machines on an NTFS partition that I am able to successfully boot with virtualbox at my ubuntu desktop however, when I vnc into my desktop from a remote location and start up virtualbox and try to boot my virutal machines, I get:
Failed to open a session for virtual machine.. the virtual machine has terminated unexpectedly during startup with exit code 0.
result code NS_ERROR_FAILURE 0x80004005 component: MACHINE interface: IMACHINE
from googling this some people have indicated this means my username is not in the virtualbox user group, but I am logging in with the same username over vnc as I do when sitting at the machine where virtualbox works fine. the directory the machines are on is mounted, not sure why I can't boot them what else could be causing my problem? has anyone ever setup vnc4server on ubuntu and got virtualbox working?
I am facing a problem while installing backtrack 4.0 on my virtual box. After assigning a hard drive and booting from the live cd, i am receiving a error message as follows:
Loading, please wait... Buffer I/O error on device hdc, logical block 76636 (this statement gets repeated like four times with different logical block id. SQUASHFS error: squashfs_read_data failed to read block 0x5bb337b9 SQUASHFS error: unable to read is index table.
It is not the first time i install operating systems on virtual box though it is the first time i receive such an error with backtrack.
When I boot from the CD, it starts to boot and then continously repeats:
Initializing gfx code... boot: gfxboot:
It stops on boot for about 10 seconds each time then gfxboot for not even a second before the cycle continues. I have tried more than one CD, so I don't think that is the issue. It even did the exact same thing when I tried it on PCLOS 2010.10. Both versions I tried were KDE. trying to figure out how to get past this.
I am in the tasks section of the following tutorial [URL] I did the list package thing to see what packages there are. However now I cannot leave the list in order to run the purge command. How can I get back to the previous section so I can remove packages from the custom live cd. I want to make sure I am editing the live cd and not the current install. I am going to make two images. One cd that will still have a gui but I plan to build as a recovery tool. The other one is a dvd and will be for installing everything I want on any machine. I am doing the tutorial with Karmic. Also I have cursors, themes and icons I installed from gnome look. I then went to customize and created my own personal mix I like. I would like to make this a standalone theme and come as the default theme on the live cd and dvd. I have no clue what I am doing, however wish to learn to build my own custom live cd. Also I would like to know how to ad repositories to the live cd and how to add programs pre installed that are not usually included.
I'm sure this is possible to do, but how do I create a Ubuntu install cd that uses my current config. Ideally I would like to be able to install exactly what I have on my system now, without user files. Wine, Ccsm, amarok, audacity, themes the whole nine yards. I tried using a program called Ubuntu Customization Kit, but it wouldnt let me mount the normal ubuntu install .iso file. This would avoid the hour and a half post-install config every time I screw Ubuntu up as well as stripping off many of the programs I don't need...
I want to create a custom live cd of off peppermint os one. I want to add specific software, and delete some packages i don't really need. How can I do this Reconstructor is not what i want, because i am forced to use Ubuntu or Debian, remastersys doesnt work for me since I see no option in using peppermint one as a live cd.
I'm working to setup an small PC as a kiosk, I was able to create an USB pen drive with ubuntu 10.10 with a persistent area and I made all the changes I need, everything works but if the PC loss power in most of the cases the file system is corrupted. Now I'm trying to generate a non persistent USB drive, but I'm having some problems. I was able to install remastersys and create an ISO image of my system (dist) but when I tried to create the USB drive using different Programs, in all cases I get the boot menu but it never complete the login, it just try to keep booting. The only messages I saw when I create the iso image is a bunch on chown operation fail from remastsys, I'm not sure if it is part of the problem. how to create an USB read only from a persistent one ?
Is it possible to create custom Live Linux cd that consumes less RAM by limiting its functionalities?My laptop has 448 mb RAM and I want to run the LIVE CD along side windows xp pro(using VMware Player). I have tried a few Linux live cds but all of them are very slow when I run them inside xp!! I want to create this custom live cd so it only have firefox browser (latest version) pre-installed along with flash player (Latest version) and ability to hear voice when playing ..... videos. (I want omit the rest of programs in order that Linux runs faster). Is it possible to gain speed by omitting un wanted programs? How I can create such LIVE cd with limited functionality and fast performance.
I am trying to make a Custom Ubuntu Live CD using Remastersys and an installer for the Live CD using Ubiquity. I was able to successfully create a Custom live CD using remastersys and when I boot from the custom Live CD the grub correctly displays the Custom Live CD Name that I specified during the ISO file creation using remastersys. However, when I install from the Live CD that I created, using Ubiquity, after reboot, the Grub menu displays as Ubuntu and not the Custom Label. How can I change it so that after installation, the custom Live CD name is displayed?
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.