On Tuesday 18 May 2010, Darr wrote: >On Tuesday, 18 May 2010, @ 03:10:44 zulu, > >Gene Heskett scribed on the fedora users list: >> so at some point I'm going to be back asking how >> to do this mkinitrd command line: >> >> mkinitrd -f initrd-$VER.img $VER > >$ dracut /boot/initramfs-$(uname -r).img $(uname -r) Yes, I could do that too with mkinitrd. But that isn't how I have been doing it, primarily because I keep an .old copy about that I can recover to if the newer boot goes west. >Still, I think if you want it to overwrite, it needs to be > >$ sudo dracut -f /boot/initramfs-$(uname -r).img $(uname -r) And you are using sudo, which may, or more likely will not be passwordless depending on the life of a previous sudo. I want it to run as the user, me. >But maybe not... I usually don't overwrite them, so I haven't tried that as > user. I have never over-written them. I shuffle them around, deleting the original only if its already been renamed to .old. Then I rename the present one to .old, and then make a new one, right in the source tree. Then I do the same bit of renaming and deleting in /boot, then copy the new one to /boot. In any event, if it doesn't boot, all I have to do is add the '.old' to the end of the filenames at the grub edit stage, and off I go, booting the old one that worked. I have now made it run as the user me, but it seems to have a hard coded dependency on dhclient, so it fails. Turns out that just to satisfy this, I had to install the dhcp-client package, and then it worked. So even dracut suffers from the "everybody uses dhcp don't they?" mentality. So ever the march of 'progress' wants to stuff us all in the same bland pint jug and tell us it fits us perfectly. NOT! That isn't what linux is all about. So, I have successfully built and installed an older kernel, as the user gene. As a side effect, although I have been building 2.6.34-rc# kernels for a while because it fixes video problems with the older kernels, I note that I must have fixed something else too. One of the last things my makeit script does is to gzip this .config and save it in the /boot tree as config-$VER.gz, and there are no others there except the 2.6.34-rc3.gz and .gz.old that I was using as a playground. Something must have bypassed that by a previous error when I was doing this as root, so there is a plus to this little exercise. >HTH, though. Thanks for listening. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Should I get locked in the PRINCICAL'S OFFICE today -- or have a VASECTOMY?? -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines