LinuxQuestions.org
Register a domain and help support LQ
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-11-2012, 01:34 AM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Rep: Reputation: 1
Can't boot into -current partition after slackpkg upgrade-all, after kernel upgraded


I can't boot into my -current partition after slackpkg upgrade-all.

I am having 2 hard disc, first is purely for windows 7 where it come with the original purchase. i add another hard disc to install OperatingSystem for the use of Slackware stable and -current.

i boot in -current or stable by a usb pendrive as i yet to know how to chainload the OS with windows 7 in HD1, and i don't want to disturb the MBR in windows partition. That's why i add another HD but i can't load slackware directly thru HD2, must use a usb bootup pendrive.

My problem now is i can't boot into my -current partition after slackpkg upgrade-all, i can't even use the previous -current installer CD nor the bootup pendrive. i know it is due to the new kernel upgrade but how to rescure myself now?
 
Old 08-11-2012, 01:56 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,569

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
you should install the kernel, not upgrade from previous version
also, did you run mkinitrd to create the new initrd just in case you are using generic kernel?
 
Old 08-11-2012, 02:04 AM   #3
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
Sorry Willysr, i am totally naive/blind in this issue.
No i didn't. How? What should i do as first step? Please advise.Thank you.
 
Old 08-11-2012, 02:17 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,569

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
first, you will have to boot using the installer again (it can be pendrive or CD)
mount your root partition and chroot to the partition
next, reinstall your kernel and this time, make sure you create an initrd. It has a great documentation which is placed on /boot directory. You should read it first.

don't forget to add the initrd line in your /etc/lilo.conf and execute /sbin/lilo to re-read the configuration file
 
1 members found this post helpful.
Old 08-11-2012, 06:24 AM   #5
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 483

Rep: Reputation: Disabled
It sounds like you are using the kernel that is installed by default, after you did and upgrade-all you should have been prompted to run lilo, did you?
 
Old 08-11-2012, 06:40 AM   #6
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 314

Rep: Reputation: 77
Hi,

I think that the issue is that you was using an huge kernel and now you switched to generic on the update.
I would solve this way (and stick with the huge kernel)
Boot slackware cdrom
mount /dev/<root> /mnt
cd /mnt
chroot ./
cd boot
change the System.map config and vmlinuz links from generic to huge
lilo
exit
umount
reboot

have a nice day
 
Old 08-11-2012, 09:58 AM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,346

Rep: Reputation: 184Reputation: 184
I'm not clear if ever slackware booted after you added an additional hard drive. If not, then adding of an additional hard drive may have moved the slackware hard drive from number 2 to number 3 hard drive. Try switching the cables on the new hard drive with the cables on the slackware hard drive, If it doesn't work then put them back the way the cables were to prevent futher problems.
 
Old 08-12-2012, 10:42 AM   #8
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
Quote:
I'm not clear if ever slackware booted after you added an additional hard drive.
No, it doesn't boot. Since i don't want to disturb the MBR in win7 hard drive, i boot into slackware in the second hard drive with pendrive.
As for now i have mess up with the kernel after updated to the new version i can't boot in with the old kernel in the previous pendrive.
Anyway, now i managed to boot-in thru the latest iso installer CD downloaded from mirror site.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slack64-current multilib slackpkg upgrade portia Slackware 4 01-05-2010 02:47 PM
[SOLVED] slack current slackpkg upgrade-all ERROR question damgar Slackware 3 12-21-2009 12:09 PM
upgrade slack-current with slackpkg, problem with Xorg specialized Slackware 24 07-07-2009 02:32 PM
SlackPkg trying to upgrade rpm2tgz-1.0-i486-1.txt in -current niels.horn Slackware 3 05-09-2009 09:43 AM
Using slackpkg to Upgrade to Slackware-Current x94qvi Slackware 8 10-20-2007 07:53 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration