Software :: How To Boot From UUID Using Initrd

May 2, 2011

i want to boot from UUID using initrd,

View 1 Replies


ADVERTISEMENT

Debian :: Make-kpkg --initrd Won't Create Initrd?

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

General :: Multi Boot Grub - All Systems Recognized But 10.10 Will Not Boot - Cannot Locate The UUID Specified

Dec 20, 2010

Problem: I have installed two Ubuntu servers, 10.04 32-bit and 10.10 64-bit, in a multi-boot environment (also have FDOS and WinXPsp3). The 64-bit will not boot because grub can't find the UUID for the disk with the 64-bit system.

Brief Background: Installed 10.04 LTS two months ago with no problems. 10.04 is in a primary partition on hda with FDOS.

Installed 10.10 (64-bit) in a new primary partition on the same hd. The install seemed to go ok, but the MBR and the fs on the 10.04 were corrupted; could not boot. Restored drive, and rebuilt grub.

Installed 10.10 on separate hd (hdb). In grub step all OS's were recognized so I pointed the grub to hda. Grub failed to boot.

Rebuilt grub from 10.04 on hda. All systems recognized but 10.10 will not boot because it says it cannot locate the UUID specified.

Compared the grub.cfg for both systems, the UUID specified for hdb is the same. Also, when I mount the drive for 10.10 on the 10.04 system the drive UUID is consistent.

I know I must be missing some thing, but I know not what. Have searched and can't find any clues. All other OS's boot ok.

Hardware: AMD64 4GB, 2 internal IDE drives (hda and hdb), 1 internal SATA (hdc WinXP), various USB and Firewire Drives (no bootable systems).

View 6 Replies View Related

OpenSUSE Install :: Boot From USB Connected External Hard Take Long Time From Loading INITRD Image To Start Boot Process?

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

Ubuntu :: Add An Initrd Entry For The Boot Line Of Another?

Jan 27, 2011

I have long been avoiding Grub2, but it got installed without my permission when I upgraded to Maverick. I was using the legacy Grub from Fedora and was quite happy, but after partitioning Ubuntu did not give me the choice of not installing Grub2. Anyway, I can live with it if I can learn it well enough to edit it as easily as I did legacy grub. My problem is that although Fedora boots fine, grub did not add the initrd entry to boot the Slackware kernel Which of course it requires.) I edited /boot/grub/grub.cfg and manually added, but as soon as I ran "update-grub" it removed it again. Does anyone know how to permenently add this line to the kernel line in Grub2 for Slackware.

View 5 Replies View Related

Fedora X86/64bit :: Boot From A Vanilla Kernel Without Initrd?

Oct 17, 2010

I've downloaded 2.6.36-rc8 vanilla kernel, then I copied .config file from my current working kernel 2.6.32.21-168.fc12.x86_64, then I've configured, compiled and installed kernel like this:

Code:
make gconfig
make -j4 all (or make all)
make modules_all
make install
The last command edits my grub.conf file and writes this:
[Code]....

I checked my .config and ACPI, and File Systems are built into kernel and not loaded as modules... And, I have LVM but my /boot partition isn't in it, so I don't HAVE to use initrd, right? How can I boot from a vanilla kernel without initrd ?

View 11 Replies View Related

CentOS 5 :: Boot Stuck At Initrd After Reinstalling GRUB?

May 7, 2009

I am using CentOS 5.2 with GRUB booting a software RAID configuration. The first disk is md0 and is mirrored across sda1 and sdb1.I manually re-installed grub using grub-install and the machine will no longer boot off of the HD. The grub menu comes up, I can select my kernel the machine then jumps to loading the initrd and hangs.It will go no further. I have a live DVD that can boot from the HD. If I use that to first boot from the DVD, then specifiy the HD, it shows the same grub menu and then the machine boots fine w/o the initrd hang.I have tried re-installing grub but not been able to get the machine to work again w/o the DVD.

View 3 Replies View Related

Ubuntu :: Grub Will Not Boot Into 9.10 - No UUID

Feb 16, 2010

Something wrong regarding grub2 (on 9.10). Yesterday everything worked fine and has done for several months. I didn't mess with anything yet when I booted from grub today it informed me that my UUID doesn't exist and that it's given up waiting for root device. I should also mention that it no longer does the 3 second count down either (not sure if thats significant). I can boot into my other linux and windows without issue. This only seems to affect all the ubuntu boot option. This is all way beyond me but I've searched around and tried the fix where you add all_generic_ide to the boot command but that didn't work. I also worked out how to check the UUID but the number look alright.

grub.cfg and blkid below:
# DO NOT EDIT THIS FILE
# It is automatically generated by /usr/sbin/grub-mkconfig using templates from /etc/grub.d and settings from /etc/default/grub

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi .....

View 4 Replies View Related

Software :: How To Cancel Swap Mounting At Boot In Debian Initrd

Oct 9, 2010

When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?

View 9 Replies View Related

Hardware :: Boot Halt After Initrd With Large Hard Disks?

Feb 5, 2011

upon installing 4 2TB drives, my server will not boot. I have tried booting from a slackware 11 dvd and passing these boot paramaters:

huge26.s root=/dev/sda1 noinitrd ro in addition to just trying to boot from the DVD using the huge26.s kernel. the kernel starts to load and says "Ready." Then sits there with a flashing cursor... The problem only exists with the new 2TB drives installed. I never had any problems when I had 750GB drives installed. Also, everything works fine if I boot from the DVD using "huge26.s root=/dev/sda1 noinitrd ro" as boot paramaters, and insert the 4 2TB drives (hot add) after the system starts booting.

I have also tried booting from a backtrack 3 cd but experience the same problem (boot halt after loading initrd)

View 13 Replies View Related

Fedora Security :: FC11, SELinux, And Initrd No-boot Scenario And Resolution?

Jul 16, 2009

So, I had fun with this one the past week. I had an FC11 system running just fine. Then one day it would not boot - it was hung somewhere inside the init script of the initrd image. CTRL-ALT-DEL would reboot the system. Using grub editor, I could temporarily delete the initrd line and boot into the system OK. But what was going on?

mkinitrd was of no help to me. I even did a yum update, which got a new kernel, which also generated a new initrd - no joy. I extracted the initrd file system and edited the init script. I eventually hit on this tidbit: If I commented out this line:

daemonize --ignore-missing /bin/plymouthd and rebuild the initrd image - the system would finally at least tell me what the problem was: mount failed for selinuxfs on /selinux. No such file or directory.

So, I examine the root (the real root, not the initrd temporary root) - and sure enough, no /selinux. I make one and reboot. The system goes into a "targeted policy relabel" operation, reboots, and I am back in business - even with my original, unmodified, initrd.

I have no idea what happened to my /selinux directory, but I think the initrd "init" script needs to check for this directory's existance, and make it if necessary. Or at least report that it isn't there. In FC11 right now the system just HANGS without this directory being present, without any clue as to what the problem is!

View 1 Replies View Related

OpenSUSE Install :: Boot Failed After Installing New Kernel Initrd-2.6.34.7-0.2-desktop

Sep 21, 2010

Suddenly, after installing, boot was failed.

[Code]...

i was surprise, because in initrd-2.6.34.7-0.2-default all was ok.

View 2 Replies View Related

Debian :: Unable To Boot From Grub 'error Unknown Command Initrd'

Feb 24, 2009

I'm running Debian testing and after a recent software update, suddenly I can no longer boot into my single Linux kernel image anymore. I did look at the software update before I did it and I don't believe that it removed any software packages. When I try to boot into my linux 2.6.26-1-amd64 image, I get the following message from grub:"error: unknown command `initrd'"..The same error appears if I try to boot into single-user mode. I have a Windows XP partition on the same hard disk and I am still able to boot into that from grub. I've searched the net and haven't really found my same problem replicated anywhere. I would imagine that the problem is just that somehow the initrd package got removed in my last software update, but again I don't recall seeing any software that the update planned to remove.

Any thoughts on how I would go about fixing this problem? Since I'm unable to get into Linux at all, I imagine I'll have to use a LiveCD to get in and fix the problem, but I don't know where to begin looking.

View 8 Replies View Related

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 View Related

General :: Boot Loader Capable Of Ext4 And Of UUID's?

Mar 2, 2010

I've got the latest version of Ubuntu on my machine.My Linux partition is ext4, so I need to use a Linux boot loader capable of booting from ext4.Also, I want to be able to use the UUID of my partition instead of specifying "/dev/sda3".Right now I'm using the Grub2 (or whatever the f*** it's called) that comes with Ubuntu. It's the ugliest boot loader you'll ever see, the configuration file is disgusting.So with that in mind, I'd like to change boot loader.Lilo would be OK but I can't seem to get it to boot from ext4.The older version of Grub was fine too but again I don't think it can boot from ext4.

View 2 Replies View Related

Ubuntu Installation :: Non-existant UUID Number Prevents Boot Up?

Feb 1, 2010

I put my two SATA hard drives in a new computer (new mb, cpu, no pci SATA adapter, built-in nVidia graphics), and I thought everything was going well. The Mythbuntu logo came up, but the bar at the bottom did not move. It eventually dropped me out to a (initramfs) prompt.

When I used the recovery mode, this is where it had problems:

[ 4.756000]ata1:SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 5.068000]ata2:SATA link down (SSTatus 0 SControl 300)
[ 5.552000]ata3:SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 5.864000]ata4:SATA link down (SSTatus 0 SControl 300)

[Code]....

I had a SATA PCI card in my old computer, would adding that to the new system make it work? Is there someway to update the UUID numbers (I think I have done this before).

View 5 Replies View Related

Ubuntu :: Boot Failure - Can Not Find Root Partition No Uuid

Mar 5, 2010

I posted this first to thread 'Boot problem - "Gave up waiting for root device.", (initramfs)' then realized that I should start a new thread because the problem is not the same. On boot the splash goes black and nothing happens, On a recovery boot it drops into shell BusyBox and messages indicate that the root partition cannot be found. After booting from CD Gparted GUI partition information shows no label or ssid for the root partition sda2. The data for the root partition appears to be there. how to fix this? My /home, swap, and / are on separate partitions formatted ext3. I have a recent backup only for my data. I would like to avoid having to rebuild my system from scratch.

View 9 Replies View Related

Ubuntu :: System Halted During Boot - Swap Waiting For UUID

Mar 29, 2010

I've just upgraded my wife's netbook to UNR 9.10. This seemed to go well and the netbook has been working fine since. Yesterday my daughter used the netbook with out any issues, but when my wife tried it halted during boot with:

Swap waiting for UUID: xxxxxxxxxxxxxx

After a couple of reboots it started working fine, but looking at /etc/fstab the entry for swap is different to the UUID shown in blkid Do I just update fstab with the UUID from blkid?

View 2 Replies View Related

Ubuntu :: Unable To Boot Due To Changed UUID In RAID Array

May 9, 2010

I'm running 64bit Lucid. I've recently had a severe problem with my softraid (5) array, and have had to recreate the array to fix it. However this now means that something is up with GRUB/initramfs, and booting times out while waiting for the root device (md0) to be ready. /boot is on a normal partition, not the raid array itself. A friend of mine has rebuilt my initramfs file with the new UUID, but now I get the message: 'Kernel panic not syncing: VFS: unable to mount root fs on unknown-block (9,0)'.So my question is either how do I sort this error, OR how do I rebuild initramfs/grub in a way that will boot?

View 6 Replies View Related

Ubuntu Installation :: Update-initramfs: Generating /boot/initrd.img-2.6.36-020636-generic Hangs?

Nov 1, 2010

I just removed a proprietary (fglrx ) driver which didnt work out well.Now all my updates hanging on: Setting up initramfs-tools (0.98.1ubuntu6) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-2.6.36-020636-generic (2.6.36-020636.201010210905) ...Running depmod.update-initramfs: Generating /boot/initrd.img-2.6.36-020636-genericAnd I dont know how to solve it...besides a clean install.

View 9 Replies View Related

Debian Installation :: Installed Vmlinuz And Initrd.gz (squeeze) In /boot/newinstallation And Added To Grub The Lines?

Sep 17, 2010

I have installed vmlinuz and initrd.gz (squeeze) in /boot/newinstallation and added to Grub the lines:titleNova Instalaçãoroot(hd0,0)kernel/boot/newinstall/vmlinuzinitrd/newinstall/initrd.gzNevertheless, when I choose this option at the grub, it begins to start the kernel vmlinuz and thus restart the system. The installed Debian Lenny boots in a normal way.

View 10 Replies View Related

Server :: PXE Install Using Initrd

Feb 7, 2011

I heard somewhere that by creating custom initrd image and default compiled kernel image, we can do PXE linux installation. can anyone please guide me 'what content will be placed inside initrd?'I know the process of creating custom initrd file .

View 1 Replies View Related

CentOS 5 :: How To Remove LVM From Initrd

Jun 28, 2010

I liked to move away from LUKS and LVM.

I just like to have a simple hard disk with 3 partitions for boot, / and swap

What i did so far is:

1.) i unlocked the disk and copied the content from /boot and / to the new disk into sda1 and sda3 (sda2 should be swap)

2.) i changed the fstab

3.) I changed the grub.conf

Somehow my settings in fstab and grub.conf are being ignored and during boot my system still complains about the missing /dev/sda2 for LVM

I do not like to use LVM.

I expect this is caused by the initrd

I already did boot from the Live CD and did chroot into my system and tryed to make a new initrd.

I used mkinitrd without any options.

During boot i still get the LVM error message, complaining about the missing /dev/sda2

View 6 Replies View Related

Debian Configuration :: How To Add A File To Initrd

Dec 13, 2015

I have an encrypted root and encrypted boot drive... To avoid entering a passphrase multiple times I'd like to add a keyfile for my root drive to my initrd... I've done this in Arch and it was relatively simple but I've hit a road block in debian finding the analog processes...

Code: Select all#Part 1) Generate the keyfile, give it suitable permissions and add it as a LUKS key:

dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
chmod 000 /crypto_keyfile.bin
chmod 600 /boot/initramfs-linux*
cryptsetup luksAddKey /dev/sdX# /crypto_keyfile.bin

[Code] ....

Code: Select allupdate-initramfs -v -k -u all

What is the analog to Part 2 (and Part 3 if I'm wrong about how to regenerate the initramfs...)??

View 10 Replies View Related

Fedora Installation :: Missing Initrd - 13?

Jun 8, 2010

I do not find any initramfs-2.6.33.5-112.fc13.i686.PAE.img in my /boot folder after I updated Fedora 13 after a fresh installation. The vmlinuz file is present in the /boot folder.he grub.conf file does not show any initrd entry too.

View 3 Replies View Related

Fedora :: No Initrd With Kernels Newer Than 2.6.33.6-147?

Jun 5, 2011

I'm running FC 13. I believe that the base install is kernel 2.6.33.6-147.x86_64. That is the last version of the kernel that I have installed that includes an initramfs file. Neither 2.6.34.7-56 nor 2.6.34.8-68 installed an initramfs file. Since my root volume is in LVM, I can't boot with those kernels. I saw in another post that doing a "yum install kernel" would install the missing files. I tried that and it tells me that kernel-2.6.34.8-68.fc13.x86_64 is already installed and latest version.

I ultimately want to upgrade to FC 15 because I've got a new nVidia video card and need driver 270.41.06 for fc15. My fear is that if I upgrade I might not get the initramfs files in the new versions of FC and end up with an unusable system. Is there a way to add the initramfs files for the newer kernels and/or will I have the files after an upgrade?

View 2 Replies View Related

OpenSUSE Install :: Where To Get 11.1 Kernel And Initrd

Dec 17, 2009

i upgraded from 11.1 to 11.2. Unfortunately the new kernel does not work with my sata/southbridge (i googled and figured its a known issue). So i tried to boot a 11.1 64bit rescue system to install the older kernel and the corresponding initrd. The problem is, that i cant find the kernel and initrd on the rescue system.

View 2 Replies View Related

Debian :: Procedure Behind Initrd Image?

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

General :: How Do Make An Initrd File

Apr 17, 2011

I have compiled the linux kernel. My bzImage is 1,14 mb big

Anyway. It's only 2 programs i need and it's Python and Busybox. I have compiled python and busybox and put them together in a folder. Busybox is 146 kb and pyton is 4,4 mb.

But how do i make an initrd file of them? Or should a make an initrd file of them?

I get this error when a runt with a compiled busybox to gz format as initrd, and without initrd.

Quote:

VFS: Cannot open root device "sda1" or unknow-block(0,0)
Please append a correct "root=" boot option; here are the available partions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1

Do you know how to make an initrd?

View 4 Replies View Related

General :: Creation Of Initrd Manually?

Mar 14, 2011

creation of initrd manually(not using mkinitrd).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved