LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2009, 11:59 AM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Can't boot Slackware 12.2: need initrd


Using Slackware 12.2
I upgraded some packages and forgot to make an initrd.
Now I can't boot into Slackware. How would I make an initrd for
the new kernel. I tried using the install cd, mounting the
partition for the root directory (mount -t ext3 /dev/hda6 /mnt)
and cd into /mnt/boot.

I then ran:
mkinitrd -c -k 2.6.27.31-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hda6

I got error messages telling me that it couldn't find modules.

Thanks.
 
Old 08-22-2009, 12:08 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Just look at the instructions on the install CD for booting into an existing system. Try this - boot with the CD and at the boot: prompt enter -
Code:
hugesmp.s root=/dev/hda6 rdinit =ro
Then run your mkinitrd command and lilo.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12.2 won't boot to initrd ryerke Linux - Software 4 01-12-2009 12:52 AM
Slackware 12 initrd issue nc3b Slackware 15 04-17-2008 09:05 PM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
slackware 11.0 and initrd mscole Slackware 4 10-13-2006 06:44 AM
slackware 10.2, kernel 2.6.16, and initrd alphisb0t Slackware 3 03-22-2006 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration