What do I need to do, prior to rebooting, after a new kernel install? As I'm using grub for a bootloader, would I just run 'mk_initrd'? The kernel is from kernel-of-the-day via an apt-get dist-upgrade. Thanks again. -- Cheers, Trey --- There is an innocence in admiration; it is found in those to whom it has not yet occurred that they, too, might be admired some day. - Friedrich Nietzsche 19:39:51 up 1 day, 22 min, 1 user, load average: 0.07, 0.02, 0.00 Linux salamander 2.6.6 #1 SMP Mon May 10 00:12:20 PDT 2004 i686 unknown unknown GNU/Linux
On Friday 14 May 2004 01.48, Trey Sizemore wrote:
What do I need to do, prior to rebooting, after a new kernel install? As I'm using grub for a bootloader, would I just run 'mk_initrd'? The kernel is from kernel-of-the-day via an apt-get dist-upgrade.
A quick prayer might be in order :) Yes, all you need to do is a mk_initrd, but remember that the kotd kernels are frequently broken. You'd do well to keep a) a rescue CD, and b) the older kernel rpm around (if you installed the kotd with an upgrade, the old kernel will now be gone) After the reboot you will need to reinstall the nvidia driver, if you have such a card
On Thu, 2004-05-13 at 19:48, Anders Johansson wrote:
On Friday 14 May 2004 01.48, Trey Sizemore wrote:
What do I need to do, prior to rebooting, after a new kernel install? As I'm using grub for a bootloader, would I just run 'mk_initrd'? The kernel is from kernel-of-the-day via an apt-get dist-upgrade.
A quick prayer might be in order :)
Yes, all you need to do is a mk_initrd, but remember that the kotd kernels are frequently broken. You'd do well to keep a) a rescue CD, and b) the older kernel rpm around (if you installed the kotd with an upgrade, the old kernel will now be gone)
After the reboot you will need to reinstall the nvidia driver, if you have such a card
Thanks Anders. Good to know. Is there a better source for recent kernels that's a little more stable? -- Cheers, Trey --- At a given moment I open my eyes and exist. And before that, during all eternity, what was there? Nothing. - Ugo Betti 19:58:40 up 1 day, 41 min, 1 user, load average: 0.37, 0.14, 0.04 Linux salamander 2.6.6 #1 SMP Mon May 10 00:12:20 PDT 2004 i686 unknown unknown GNU/Linux
On Thursday 13 May 2004 07:00 pm, Trey Sizemore wrote:
On Thu, 2004-05-13 at 19:48, Anders Johansson wrote:
On Friday 14 May 2004 01.48, Trey Sizemore wrote:
What do I need to do, prior to rebooting, after a new kernel install? As I'm using grub for a bootloader, would I just run 'mk_initrd'? The kernel is from kernel-of-the-day via an apt-get dist-upgrade.
A quick prayer might be in order :)
Yes, all you need to do is a mk_initrd, but remember that the kotd kernels are frequently broken. You'd do well to keep a) a rescue CD, and b) the older kernel rpm around (if you installed the kotd with an upgrade, the old kernel will now be gone)
After the reboot you will need to reinstall the nvidia driver, if you have such a card
Thanks Anders. Good to know. Is there a better source for recent kernels that's a little more stable?
Listen to Anders! He knows whereof he speaks. I didnt and I just spent three days trying to recover from the installation and recompile of one of those BAAAD kernels. My recovery consisted of putting a new hard drive in. Somehow my Reiser partitions got hosed and the only way to recover is to reformat. and I didnt back up my /home dir first! What a painful lesson, now if I could only learn from this! Hopefully I can recover a bit of the data. The sad thing is I went through several updates before I got the whammy! Wont be doing that again! And all I wanted is a kernel that will let me use my dma.. ra
On Friday 14 May 2004 11:10, Richard Atcheson wrote:
Hopefully I can recover a bit of the data
~ please, may i encourage folks to use "rsync" &/or TAR.GZ CRON is a great tool . . . am using cron to backup & date-stamp /home directory in tar.gz format, early morning, and, again, in late afternoon. ~ also, use cron to "rsync" backup the /home directory to another Hard Disk, every 30 minutes this life is full of GRIEF . . . if <cron> can lighten the burden, and make grief lighter, then, CRON is a great "plus". cheers ____________ sent on Linux ____________
On Fri, 2004-05-14 at 09:43, pinto wrote:
On Friday 14 May 2004 11:10, Richard Atcheson wrote:
Hopefully I can recover a bit of the data
~ please, may i encourage folks to use "rsync" &/or TAR.GZ
CRON is a great tool
. . . am using cron to backup & date-stamp /home directory in tar.gz format, early morning, and, again, in late afternoon.
~ also, use cron to "rsync" backup the /home directory to another Hard Disk, every 30 minutes
this life is full of GRIEF . . . if <cron> can lighten the burden, and make grief lighter, then, CRON is a great "plus".
cheers
Would you be so kind as to post the scripts you use with cron to do this? Sounds like a great idea. -- Cheers, Trey --- "This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it." -- Dorothy Parker 15:14:00 up 1 day, 16:29, 1 user, load average: 0.10, 0.13, 0.09 Linux salamander 2.6.6 #1 SMP Mon May 10 00:12:20 PDT 2004 i686 unknown unknown GNU/Linux
On Sunday 16 May 2004 19:14, Trey Sizemore wrote:
. . . am using cron to backup & date-stamp /home directory in tar.gz format, early morning, and, again, in late afternoon. ~ also, use cron to "rsync" backup the /home directory to another Hard
Disk, every 30 minutes
Would you be so kind as to post the scripts you use with cron to do this?
#!/bin/sh # Drive backup /home # # cd ~ exec tar czvf /zip/home`date +%y%m%d`.tar.gz /home/<user> {} \; >/dev/null 2>&1 cd ~ ........................ #!/bin/sh # # use rsync to backup /home to /dev/hda6 # mount -t reiserfs /dev/hda6 /mnt cd rsync -avr --delete --delete-after /home /mnt df umount /mnt cd .......................................... best wishes ____________ sent on Linux ____________
participants (4)
-
Anders Johansson
-
pinto
-
Richard Atcheson
-
Trey Sizemore