Ubuntu :: Update-initramfs From Another Machine?
Jan 24, 2011
I'm finding myself in a situation where I am locked out of my machine (because of a initramfs that doesn't allow me to log in). I think I know where the problem is, but I do not know how to go about rebuilding an initrd file from another machine (especially since my second machine is running on a lower kernel version).
I have tried booting from a LiveCD, but that does not allow me to make any changes to /etc/update-initramfs/. Currently do not have a USB drive handy. How would one go about this?
View 2 Replies
ADVERTISEMENT
Oct 26, 2010
After copying a filesystem to be used as an image on a PXE server, is it possible to update that image's initramfs on the PXE server?
On PXE server, I added several ethernet modules/drivers to the following file:
/nfsroot/etc/initramfs-tools/modules
Before the changes will take effect, I need to run:
Code:
$ sudo update-initramfs -u
View 1 Replies
View Related
Jun 21, 2010
I'm working on a custom Ubuntu 10.04 live cd, and I've found updating the Plymouth splash uses up a lot more disk space. The culprit seems to be the command update-initramfs -u, which is needed to apply the new splash image. I'm guessing it's making a new intrd image or something.
View 3 Replies
View Related
Apr 5, 2011
just installed hardy after I removed Maverick since it doesn't support my ati graphics. I installed it inside my windows xp pro and run smoothly after installation, added couple of widgets and so on... after I restarted it the next time, a balloon showed on top saying 113 or so updates are available, so I updated it.
After update I reboot my lappy and it won't get to my ubuntu anymore but works fine with my xp. I tried several searches on the net to find the solution but can't really figure it out. I just tried running Boot info script as it might help experts figure out what's wrong with my box and here's what it shows:
[Code]....
View 7 Replies
View Related
Oct 17, 2015
I'm just completing an upgrade from wheezy to jessie and get the following error
Code: Select allProcessing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
E: intel-microcode: unsupported kernel version!
With a message like this I'm wondering if it's safe to reboot as well as how to resolve.
Is this somehow related to the change to only update the microcode on boot as reported earlier in the upgrade?
Code: Select allintel-microcode: microcode will be updated at next boot
View 5 Replies
View Related
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
Dec 23, 2010
after yesterday's update to kernel 2.6.35.10-72 my grub.conf didn't get updated and ll /boot shows that neither vmlinuz or initramfs exist for that kernel. uname -r though tells me I'm running 2.6.35.10-72.
How can I do that? and on another more reallystic matter how can I generate the missing files so I can manually update grub.conf?
View 2 Replies
View Related
May 28, 2010
I'm trying to compile and install new kernel 2.6.32.14 in my ubuntu karmic. After compiling source and executing the deb package for the kernel, I tried to run update-initramfs but got "No space on device" error. My /boot partition size is 100 MB and is currently having 37MB free. After I run the update-initramfs command I noticed that space in /boot got depleted and soon came to naught which led to no space error thrown by gzip. I believe the resultant gzipped archive is no more than 20MB...then why is the whole 37MB is being used up? Please correct me If I'm wrong here otherwise I might be left with no choice but to increase the size of /boot partition. Is there anyway I can make update-initramfs to use the temporary space from other drives(may be /tmp) when creating gzipped archive?
View 1 Replies
View Related
Feb 20, 2011
I have an issue with the manner in which Network Manager is configuring the network and short of ditching Network Manager I can see no solution.The issue : Getting a machine to update its machine name in the DNS serverSounds simple doesn't it I operate a FreeBSD based firewall / DHCP / DNS server, using a default Network Manager DHCP configuration the Fedora clients do not register their names with the DNS server when they obtain an address.
I have traced the communications with Wireshark and the Fedora clients are NOT supplying the PC's hostname as part of the exchange so this is NOT a DNS server configuration issue. If I uncheck the option 'Automatically obtain DNS information from provider' under the DHCP settings the Fedora clients DO register the hostname that is put into the Hostname (optional) databox. They do NOT however store the DNS server IP address or any other records defined by the DNS server.
Is there some hidden settings or is this a bug because it isn't acceptable 'DHCP' behaviour if it isn't possible to automatically set DNS server IP addresses and at the same time register the hostname during the DHCP negotiation. Before it is said I know I can use a fixed DNS IP address but am not prepared to long term, I am also not prepared to define the Fedora clients with a 'static' IP. I am similarly not interested in playing around with scripts or any other such 'frigs' to achieve what should be a standard activity - registering a host with DNS during the DHCP negotiation.
View 3 Replies
View Related
Sep 20, 2011
I am working on Ubuntu linux machine.my current maven version is 2.2.1 , I am wondering, how can I update my maven to verstion 3? What I tried: I have downloaded maven v3.0.3 binary version, and add the /apache-maven-3.0.3/bin/ path in .bash_profile file, but when I use mvn -v command, it still shows version 2...
View 1 Replies
View Related
Apr 14, 2009
I have multiple machines at home (well, 4 in all). They are all running Fedora 10. After installation, there is usually another gig or so of upgrades that need to be applied for patches, security, etc. My broadband link is painfully slow and downloading a gig can take 2-3 hours sometimes (other times I get lucky and it will only take an hour). Is it possible to upgrade the packages from one machine based on the packages on another machine, for example, if I have downloaded all of the base packages on to the fileserver, but not on to the laptop.
Is there any software that I could use by which I could use the fileserver to upgrade the laptop (effectively like a rsync, but with rpms) and only go to the internet for the few that the fileserver does not have, but the laptop still requires? I was once told that "up2date" was an option, but that seems to be quite old and there may be options in rpm or yum, but they are not clear as I would expect to have to set up some kind of service on the fileserver for the laptop to connect to.
View 5 Replies
View Related
Aug 11, 2010
I have a centos test machine in my office and its MAC Address has been bind in DHCP server so its pointing to IP 3.209.XX.XX and now i have installed xen machine on it. my Xen machine is pointing to IP 192.168.XX.XX from DHCP while it did not bind in DHCP server. I am able to run "yum update" on my host machine. but i am unable to run "yum update" on my Xen machine.
View 1 Replies
View Related
Aug 15, 2010
Today when I logged into my fileserver it told me there were 20 updates available. I went ahead and installed them, one was a new kernel. After reboot, I cannot see that machine when I browse the network. It still has the same static IP and I can still map to the shared drives, so Samba is working. When I browse the network from Windows or my WDTV Live media play it no longer shows the server by name. The smb.conf file is still intact and I restarted Samba. Not really sure where to start troubleshooting why I can't browse to it.
View 8 Replies
View Related
Jun 3, 2011
Upgraded online from 10.04 to 10.10 this morning....went OK I think! Was offered option to upgrade further to 11.04...and went for it!! Returned later to a blank screen.....unable to wake the machine....no disk activity Now have some function via a live CD......any thoughts on how I can proceed from here? I would like to persevere with the 'upgrade' route, as a fresh install will result in much loss of files
View 5 Replies
View Related
Feb 3, 2011
Just updated, downloads and install complete. I closed laptop. Fan kept running. I rebooted. Black screen. Rebooted again. Screen resolution messed up (800x600 or whatever). Changed resolution in System/Prefs. Better, but the look is not the same as before update. The Gnome fonts and icons are too small, but the resolution is same as before update! My machine has been acting buggy lately...colored text in IceWeasel browser search field, where normally black. I have Firestarter running. How to tell if machine is hacked? I just logged out/in and all normal now. I still think the machine is acting weird.
View 1 Replies
View Related
Jan 27, 2011
i wonder how i can update one single thing on my debian machine? without apt-get upgrade. lets say i just want to update my awstats install but not my php install, or my kernel version but not someting else, how can i do this ?
View 12 Replies
View Related
Jun 20, 2010
I installed the Centos 5.5 with XEN and put 03 virtual machines (Centos 5.5 too). I did this correctly, but I have a problem. In the virtual machine, I need update the kernel. I used "yum update kernel" and this is downloaded correctly and the menu.lst file is updated too, but the kernel not ran. I ran "grub-install /dev/sda" or "grub-install /dev/xvda" and received a error return. I read the device.map file and i ran "grub-install /dev/sde" and received a error return too.
The errors:
[root@vm01 ~]# grub-install /dev/sda
/dev/sda: Not found or not a block device.
[root@vm01 ~]# grub-install /dev/sde
/dev/sda1 does not have any corresponding BIOS drive.
[root@vm01 ~]# grub-install /dev/xvda
/dev/xvda: Not found or not a block device.
View 7 Replies
View Related
Sep 25, 2010
I was doing a kernel update and can no longer boot into 11.3. I am dual booting with XP. I get Grub screen but no longer see Suse as a boot option, only Windows. I have tried to reinstall, but for some reason I can't get it to boot with DVD. So, is there a way that I can repair my computer without doing a reinstall?
View 9 Replies
View Related
Jul 29, 2010
I am trying to automate yum update of specific package on a remote machine.
So far I have this:
#!/bin/bash
# Update my system
if ! yum update w3m
then
failure=1
fi
if [ $failure ]
[Code]...
View 1 Replies
View Related
Aug 28, 2010
I am using Ubuntu 9.10 and am facing an issue while booting up. It goes into initfs command prompt on one of the 4 kernels that show up in the boot menu. I tried to look around for a likely solution and hence did the following:1. ran "chkdsk c: /f" in my windows partition.2. Added "rootdelay=90" in "/boot/grub/menu.lst" file.This is how my /boot/grub/menu.lst file looks and the problem is with the kernel 2.6.31-20-generic:
title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid ceacd229-2b68-41bf-a967-8ee470085fd8
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=ceacd229-2b68-41bf-a967-8ee470085fd8 ro quiet
[code]....
View 9 Replies
View Related
May 1, 2009
After installing Ubuntu 8.4 on an old laptop. Double boot w/ XP. I was brought to the terminal with "initramfs". I installed it through the windows partition and assigned it to partition F: which I made sure was reformatted before installation. I tried doing some commands but it seems to bring me nowhere.
View 1 Replies
View Related
Mar 17, 2010
I have one hard drive and one operating system on that one drive. No dual boot, no raid, no windows, no usb boot. Just 9.10 installed on one 40 gb drive. After trying the various techniques from this forum, I'm now stuck at Grub loading, error, grub rescue prompt. No menu list to choose from or edit (e).Here is the output of 'sudo fdisk -l'
Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40000000000 bytes
[code]....
View 9 Replies
View Related
Jun 20, 2010
I am trying to learn how to modify the initramfs in a way which is so Ubuntu-friendly as possible. I do not just want to unpack it, change it and re-pack it, as my changes won't be kept when I upgrade my kernel next time.
What I want to do is: Add curl to the binaries available in the initramfs Add a script which is run after networking is set up which calls curl In case there is no "after networking" I have to setup networking myself using DHCP. There is a tiny client inside BusyBox if I am not mistaken. I have googled a lot to get this information. As well as looked trough more than a few books.
View 2 Replies
View Related
Mar 17, 2011
Can i add a c program file to initramfs such that it runs when kernel loads and before root file system getting busy...
View 3 Replies
View Related
Aug 6, 2011
I am having trouble accessing my computer after abruptly shutting it down because it was booting off of a live CD and I just wanted it to boot of the HDD. When I try to boot up from the normal HDD I used to get a lot of errors about /dev/sda being not found, and then it went to an (initramfs) prompt, from which I could do pretty much nothing. I booted into a live CD, and basically I didn't need any of my data so I wanted to just get rid of the problem partition and reinstall. I attempted to delete the partition, but that didn't work, saying something about /dev/sda being busy (even though I had booted from a live CD and had not mounted the partition).
Anyhow, now when I try to boot from the HDD I get:
"Error: no such partition. grub rescue>"
Basically what I'm trying to do is just get rid of this partition and reinstall, but I keep getting errors about it being busy and not being able to delete the partition. Is there someone with a way to allow me to just blast this partition and reinstall? I've got a windows 7 partition on the same HDD and I'd really like to leave that one alone, but the ext4 and swap partition can just go.
View 4 Replies
View Related
Jun 22, 2011
I do not know if this is really something I should worry about. I am running Debian testing on my laptop (HP Pavillon dv6). Today, the aptitude update---aptitude upgrade gave me a new kernel (2.6.39). However, if I boot with that kernel, I get a warning (do not know if that is the way I should call this) telling me that the machine failed to get the i915 symbols so turbo graphics will be disabled.I have not done any serious test, but at first sight I do not notice any difference performance-wise with respect to the previous kernel. what am I supposed to do to fix this?
View 8 Replies
View Related
Dec 13, 2010
I upgrade to 10.10, and now I can't boot normally. The only way I can get X going is if I boot to the previous kernel's recovery mode and choose failsafeX.
In an attempt to fix this, I ran
Code:
dpkg-reconfigure -phigh -a
However, I get this,
Code:
update-initramfs: Generating /boot/initrd.img-2.6.35-23-generic
stop: Unknown instance:
dpkg-maintscript-helper: error: couldn't identify the package
View 1 Replies
View Related
May 1, 2011
I have been using 11.04 for about a day, I go to boot up and it goes into busybox initramfs instead of booting into Ubuntu. The options to my boot in grub, and the errors I get when booting into initramfs are in the pictures attached to this post.
View 2 Replies
View Related
May 22, 2011
I either installed Hardy heron or its predecessor by accident, but began running it exclusively. I did it way back when while trying to create a test drive disk, and I did not repartition the drive, because all my windoze NT stuff survived. I'm now 8.04. Yesterday I had a bunch of updates to do, did them, closed a ton of windows and then pulled up 3 open office files and each, when it came up said there wasn't enough space to save all needed information as they opened. I then closed them and one hung and froze the whole machine, leading me to do a reset. This is BEFORE rebooting from the updates.
Now when I boot into Ubuntu (I'm dual boot) I start to get the opening Ubuntu GUI screen but then get :
BusyBox V1.1.3 (Debian 1.1.1.3-5ubuntu12)built in shell (ash) line followed by:
initramfs)
I'm essentially a total noob, I've rarely used command line and not for a long time. I made a version 11.04 live disk, and it says that the file system is clean, but will not show me any of my old files, only the NT files and directories. I have a ton of unbacked up important data in Hardy Heron so I don't want to do an install from the 11.04 CD.
I've read several threads so far, and can't seem to find anything addressing this that I understand. The drive is a 160GB drive on an HP Pavilion dual core that has a 154GB NTFS boot partition, which is where I'm sure the Hardy Heron files are, and a 6GB FAT32 HP_RECOVERY partition that windoze lists ad drive D (the NTFS is C) The live disk says the FAT32 partition is /dev/sda1 and the NTFS is /dev/sda2
Where should I start? I've seen stuff about booting into recovery mode, but that isn't an option when I boot from the hard drive, and the only older ubuntu disk I have is for 7.something and generates "defective CD" type error messages.
View 7 Replies
View Related
Aug 21, 2010
I keep getting this error message when installing anything using the terminal or synaptic manager in ubuntu 10. I was installing pidgin when this message happened. The funny thing is pidgin did get installed and works fine. I am booting from a USB stick. I am using the perdition version which saves any changes i make to ubuntu on the USB stick.E: initramfs-tools: subprocess installed post-installation script returned error exit status 1E: bcmwl-kernel-source: subprocess installed post-installation script returned error exit status 1
View 4 Replies
View Related