Server :: Initrd Image Created With Cpio Doesn't Boot The Livecd
Jul 1, 2011
Im trying to build an initrd image for my livecd using cpio -o -H newc, but the livecd can't boot. If I create the initrd image using mkfs.ext2 then it works.
View 2 Replies
ADVERTISEMENT
Jan 26, 2011
how to create an initrd image using cpio, instead of mkfs?
Now im doing it like this:
Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd
But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.
View 2 Replies
View Related
Jul 18, 2011
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
View 1 Replies
View Related
Jan 4, 2011
Ubuntu 10.10 doesn't boot at all. The liveCD only boots once every like 30 attempts, installing from liveCD froze, but the Alternate CD worked and installed ubuntu. Now when I try to boot into it using GRUB, it freezes at the beginning of the boot process.With normal boot it freezes at line: Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox.With recovery mode it freezes even before showing me anything
A little kinda like the liveCD, if I try like 30 times, it might manage to boot once in normal mode.That line keeps on repeating, the the xxx.xxx integer changes each time, and this goes on forever.I tried removing my floppy drive, but it didn't help.I tried to boot with fd0=noprobeThe one time it booted, when I restarted, it froze while trying to restart.
View 9 Replies
View Related
Nov 6, 2009
I wonder why fedora livecd images cannot be booted by grub2 loopback method, which works with ubuntu and debian.i have tried something like this:
menuentry "fedora 11 i386" {
loopback loop /boot/iso/Fedora-11-i686-Live.iso
linux (loop)/isolinux/vmlinuz0 root=CDLABEL=Fedora-11-i686-LiveCD rootfstype=auto ro
[code]...
View 5 Replies
View Related
Jan 6, 2010
In light of my previous achievement in wireless networking, I've decided to create a larger issue for myself to solve. Which hopefully I can get some help with. Because my system is totally kisspoped up, for those of you who get what that means. I was trying to install GRUB via the .txz package and it created a mirrored image of the /boot folder. Which for some reason contained the / folder. Which in turn held /boot and all the other folders / is expected to contain.
Now, trying to remove the extra /boot folder proved difficult, but once I finally was able to figure it out, I remembered I could removepkg and that would probably mend the situation. However, I was already 20-something percent through moving the files to trash. Now when I checked /, /boot was gone from there. Along with various other folders. SO! Apparently the /tmp/boot folder created was in reality the /boot folder, albeit in the wrong place and having the wrong contents. Somehow, one folder existed as two different versions of itself at the same point in time. Much as a Time Lord might. Deleting one made the other vanish with it.
Good news:I removed it via Thunar and it should be in the root user's trash /home and some other folders had yet to be trashed when I hit cancel, so I can still use some things Bad news:I never ran X as root, so I don't know if it HAS a trash folder I can only use things already started up because the binaries are gone, but the configuration files in /home are still there (although /usr/bin remains)
Ideally, there would be a big UNDO button somewhere in this long row of function keys. Reasonably, there should be some kind of restoration tool. Realistically, I think I'm going to have to reinstall the system, which wasn't easy in the first place due to my faulty disc bay which detects discs at will.
View 6 Replies
View Related
Feb 14, 2011
i am using linux for couple of years. suddenly i a question arises in my mind. Before loading kernel during booting linux box initrd image loads necessary real mount point, file system, modules etc. but how initrd loads them ?? is there predefined modules list stored in initrd image or something else....what is the background procedure of it
View 1 Replies
View Related
Feb 8, 2010
i am using rhel5 and i just wanted to see the contents of the initrd image. I have copied that from /boot/grub and saved in /tmp directory. Then i did the following
#mv initrd-2.6.18-53.el5.img initrd-2.6.18-53.el5.img.gz
#gunzip initrd-2.6.18-53.el5.img.gz
#mount -o loop initrd-2.6.18-53.el5.img /mnt
when i gave that, it says "mount: you must specify the filesystem type" Then i included "-t ext2" option in the mount command. Now it says,
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Then i created a ext2 filesystem and did the same thing. But there is no difference.
View 1 Replies
View Related
May 11, 2011
When we boot the kernel before loding the main file system it loads the temp file system through initrd how that initrd image works.
View 1 Replies
View Related
Aug 13, 2010
i need to create new initrd image in sles10.2
View 1 Replies
View Related
Apr 26, 2011
I've created a live cd with wubuntu.iso on it and am having trouble getting it to deploy on another laptop. Is there another file in the remastersys folder that needs to be added so it will auto deploy? This is part of remastersys creation for cloning your system to deploy on another laptop/pc.
View 4 Replies
View Related
Oct 13, 2010
I've just installed Fedora (F13) for the first time, on a new HDD, to give myself a dual-boot system. So currently I have:
So, at the appropriate stage in the install menu, there is an option for where to install GRUB, and a drop-down to choose which drive is the primary BIOS boot drive.
However, in both cases, no other drive except my new sdc is visible. So, I can install GRUB to MBR of sdc, or to first sector of boot partition - but no option to put it to my primary boot drive MBR on sda.
Likewise, in the GRUB configuration page, if I go to Add another OS, the only option it gives me is my new Fedora install. It doesn't list the Vista OS on sda at all.
The result is that I can boot to either OS by changing the boot drive priority in BIOS.
I guess my question is this:
- is this expected behaviour from the installer, meaning that I'll need to configure GRUB manually somehow? (gulp ) or
- did I do something wrong in the install process? or
- is this some weird bug manifesting itself?
View 12 Replies
View Related
Nov 4, 2010
My DVD drive has gone bad and with new Fedora 14 just launched I decided to install the same through the usb flash disk.
First I used dd: dd if=/home/prabhat/Download/Fedora-14-i386.iso of=/dev/sdb
It went on nicely and copied the iso nicely. But I could not boot with it.
Second time I tried livecd-tools: livecd-iso-to-disk /home/prabhat/Download/Fedora-14-i386.iso /dev/sdb1
It went on nicely, and finally declared something like - usb disk is not live .... But here again when I tried to boot it says MISSING OS. I checked the contents of the flash disk. It contained raw DVD iso image, one images directory, one syslinux directory. I checked the contents of the images directory, and I found it had the install.img. And yes, the /dev/sdb1 is bootable.
View 3 Replies
View Related
Sep 20, 2010
I am attempting to run ssmtp from an initrd image to send an e-mail, via Gmail MTA, upon reboot of the machine. I have already successfully installed and configured ssmtp on the running box (in other words, ssmtp successfully runs after completion of the boot cycle). When attempting to mail something via `echo "Test" | ssmtp username@gmail.com`, I receive the following error message:
[Code]...
View 1 Replies
View Related
Jul 16, 2009
I install fedora on my usb-hdd. Sometimes i boot it from real machine, sometimes i boot from virtual machine (kvm). When I boot from real machine, hdd driver is usb-storage, when i boot from virtual machine hdd drivers are ata_generic and pata_acpi.
Everytime i update kernel, mkinitrd only create initrd image contains only hdd driver current running, and I must recreate initrd manual with all preload hdd driver. How to config fedora to everytime update kernel, mkinitrd can make initrd image with all hdd driver I need?
View 2 Replies
View Related
Jun 14, 2011
Below is the oneliner that I am using to exclude all of "." hidden directories within the same directory.
Code:
cd find . -depth ( -wholename ./.* ) -prune -o -print | cpio -oav > /media/caca/extract/full$date.cpio
it works fine but when I extract the files from the full$date.cpio archive it appears to have worked but gives me permission errors:
Code:
cd /media/caca/extract
cpio -ivd < full061411.cpio
cpio: Selection_001.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_001.png
cpio: Selection_002.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_002.png
[Code]...
View 4 Replies
View Related
Mar 30, 2011
I want to install lubuntu 10.04 on my AMD 1,14 GHz, 256 MB and Nvidia GeForce FX 5500. But it doesn't boot from USB.
It writes: vesamenu.c32: not a COM32a image boot:
So, something's wrong. I tried to install lubuntu 10.10, but it just freezes. It shows that something crashed (timezones, layouts of keyboard,...)
View 7 Replies
View Related
Mar 7, 2010
I have an image of the entire disk created using dd. The disk structure follows:
The image was created using:
How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?
It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.
View 3 Replies
View Related
May 18, 2010
When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.
It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..
View 1 Replies
View Related
Oct 23, 2010
I have created an image out of 2 other images using the "montage" command. I want to then print it using "lpr". I view the output from montage in XV and it looks fine however when I try to print, it prints the bottom half of the first image then the second and then the bottom half again.
E.g., imagine this:
Code:
<< end of top image
<< end of bottom image
The above is how it looks in xv however when printed, it looks like:
Code:
-------
-------
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
//////////////////
//////////////////
-------
-------
I really can't understand it, I've tried opening and saving the image again but it still prints as above. I don't know if montage is outputting it incorrectly or something, however it looks right on the screen!
View 3 Replies
View Related
Mar 24, 2010
I am using redhat linux4 and qt4.6. I have created an application in qt, which i want to link to frame buffer using C programme and display it onto the xserver or/and on the hawkboard.
View 1 Replies
View Related
Oct 27, 2010
My old HDD died. I have 10.10 installed on a usb stick. This is a full installation not a LiveCD. I downloaded the live CD and Unetbootin.
Can I use unetbootin to create a bootable 'LiveCD' onto a partition of my new hard drive?
Without a CD drive, I can't think of any other way to get an installation onto my new HDD
EDIT - got ubuntu installed but had to do it at work, so i am still curious as how one would proceed with only a USB (full installation) and a blank HDD with no access to any other computers.
View 4 Replies
View Related
Aug 23, 2009
I followed the instructions here: [URL] and then here: [URL] and installed the necessary packages. But when I try building the minimal image as a test, I get lots of errors, as seen in the attached build log. There are lots of things that don't seem to work. Is this project at a state where it's not currently usable? Or do I have a problem with my system configuration? I was running at root.
[root@localhost test]# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal
Filesystem label=CentOS-minimal
OS type: Linux
Block size=4096 (log=2)
[code]....
View 4 Replies
View Related
Feb 22, 2011
I want to delete the KVM created hard disk image file, so I would like to know where it is located .
View 6 Replies
View Related
Sep 30, 2010
Recently I've been struggling with an upgrade to Karmic Koala (see my Cannot Boot from Hard Disk) from Jaunty Jackalope. Despite a valiant effort to find and install grub2 I've decided instead to download and install Lucid Linx. However when I visit the download site on ubuntu.com it gives no options as to where I might save it. Since I'm currently running Karmic from a LiveCD the filesystem doesn't have enough room for the 700mg .iso, although I have plenty of room on the 40 gig HDD. How do I point the download towards my hdd rather than the LiveCD filesystem?
View 2 Replies
View Related
Nov 15, 2010
I have a fedora 11 installation on my machine , with a customized partitioning of the 500GB sata HDD , I wanted to create a exact replica image on a USB stick , for future installations on other 500GB sata HDDs .. while only need to create a copy of the 5 GB (/boot + / ) while the remaining 400 GB + is a Data Logger partition which can be created by a script. I tried doing a rsync .. but have got stuck up with the bootable drive configs et all ..
View 2 Replies
View Related
May 22, 2011
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies
View Related
Jan 10, 2011
I'm looking for a way to create a live cd from the existing image. I'd like to include some sort of installer, I've found gui remaster utilities, but none for the shell only. I need to setup the image to automatically login, so the user could just pop in the cd and start it up without a monitor or keyboard.
View 10 Replies
View Related
Mar 30, 2009
I finished downloading of "openSUSE-11.1-KDE4-LiveCD-i686.iso" file. I downloaded it by Opera WB. Then using Nero I burned this file to CD. But there is a problem with boot. Please, make a support to this problem. Maybe file, which is in a site opensuse.org is damaged?
After the reboot of computer this text appears:
ISOLINUX 3.63 0x49364136 Copyright (c) 1994-2008 H. Peter Anvin
Unknown keyword in configuration file.
Unknown keyword in configuration file.
Unknown keyword in configuration file.
Unknown keyword in configuration file.
Unknown keyword in configuration file.
Loading
Invalid or corrupt kernel image.
boot:
View 7 Replies
View Related
Aug 12, 2010
how to add packages to an existing Ubuntu ISO or LiveCD (Think like slipstreaming Windows Service Packs into Windows installation CDs, if that helps). I want to add things such as more games or the restricted extras plugins so that I don't have to go get them every time I install the OS on someone's computer, things like that. Not as important, but if it would be possible to remove packages
PS I'm not necessarily looking for a specific version, but I'm currently running 9.10 on one machine and 10.04 (soon to be 10.10) on another. A guide for any Ubuntu distro would be fine though. I'm just as interested in learning the theory of it as I am the actual execution.
View 1 Replies
View Related