LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-26-2010, 09:53 AM   #16
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Original Poster
Rep: Reputation: 40

Ok i have changed fstab and lilo back to default fstab is as before and lilo is

Quote:
append=" vt.default_utf8=0 quiet"
boot=/dev/hde1
compact

bitmap = /boot/slack.bmp

bmp-colors = 255,0,255,0,255,0


bmp-table = 60,6,1,16

bmp-timer = 65,27,0,255


timeout = 300

change-rules
reset

vga = 773

# Linux bootable partition config begins

image = /boot/vmlinuz-huge-smp-2.6.32.5-smp
# initrd = /boot/initrd.gz
root = /dev/hde2
label = Slackware
read-only
# Linux bootable partition config ends

running lilo in chroot now gives

Quote:
bash-3.1# /sbin/lilo -b /dev/sda1
Warning: Ignoring entry 'boot'
Warning: LBA32 addressing assumed
Warning: '/proc/partitions' does not exist, disk scan bypassed
Warning: Partition 1 on /dev/sda is not marked Active.
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
display of 256 colors. Boot loader will fall back to TEXT only operation.
Added Slackware *
6 warnings were issued.
bash-3.1#
just rebooting now
 
Old 01-26-2010, 09:59 AM   #17
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
I guess I was not very clear in my previous post...

If your "boot" entry in lilo.conf was "/dev/hde1" before the upgrade to -current, it should be "/dev/sda1" now.

The entry to boot Slackware should be:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-huge-smp-2.6.32.5-smp
# initrd = /boot/initrd.gz
root = /dev/sda2
label = Slackware
read-only
# Linux bootable partition config ends
When you ran lilo, was /boot mounted, or did you copy the kernel to /boot on the / partition?
 
Old 01-26-2010, 10:23 AM   #18
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Something like this happened to me as well
(not finding the kernel modules).

I went from kernel 2.6.32.3 -> 2.6.32.5
and was already using sd? for the drives.

After I did the update, made the initrd as usual,
re-ran lilo (no errors from lilo or mkinitrd), and
rebooted...the problem occurred.

I ended up booting with the first disc from slackware 13...
mounted the drives (using hd?), adjusted lilo to use hd? (for boot and root), and set the system to boot using the huge kernel.

I then re-ran lilo and booted with the huge kernel and remade the initrd,readjusted fstab, and re-ran lilo...

And I was back in business.
I have no idea what went wrong because I did not see any
obvious errors during the update process.

Anyway, HTH
Cheers
 
Old 01-26-2010, 11:00 AM   #19
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Original Poster
Rep: Reputation: 40
Now things seem to be worse.

If i boot with new or old config files i just get 9A 9A 9A repeted for 10 lines.

I think it is from when i set the partition as bootable to try and fix the error with lilo telling me the partition was not active. Removing this flag doesn't help either.
 
Old 01-26-2010, 11:05 AM   #20
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Is there any special reason why you used /dev/hde1 (now /dev/sda1) for lilo instead of /dev/hde (now /dev/sda) ?

I always use the mbr for lilo and never a specific partition.

From the info you gave us, it doesn't seem that this box is a multi-boot system, with several installations of Linux or combinations with Windows, correct?

<edit>The 9a error means that there is something wrong with the "mapping" of the disk. This means it cannot find something. Yeah, not a great help, I know... Does the word "LILO" form completely? It actually forms the word letter by letter and each one means that is passed to the next stage. (see here)</edit>

Last edited by niels.horn; 01-26-2010 at 11:12 AM.
 
Old 01-26-2010, 11:09 AM   #21
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Original Poster
Rep: Reputation: 40
The only reason is because that is the way i have always done it.

Thats correct just slackware on that pc.
 
Old 01-26-2010, 11:13 AM   #22
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Well, I would suggest trying just /dev/sda then... Tell us what the output of running lilo is.
 
Old 01-26-2010, 11:45 AM   #23
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Original Poster
Rep: Reputation: 40
Thank you very much that has fixed it now i am back with a working Slackware just got to see if i can get my wifi going again.
 
Old 01-26-2010, 11:46 AM   #24
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Glad I could be of any help!
 
Old 01-26-2010, 07:03 PM   #25
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
Quote:
Originally Posted by aocab View Post
Something like this happened to me as well
(not finding the kernel modules).

I went from kernel 2.6.32.3 -> 2.6.32.5
and was already using sd? for the drives.

After I did the update, made the initrd as usual,
re-ran lilo (no errors from lilo or mkinitrd), and
rebooted...the problem occurred.

I ended up booting with the first disc from slackware 13...
mounted the drives (using hd?), adjusted lilo to use hd? (for boot and root), and set the system to boot using the huge kernel.

I then re-ran lilo and booted with the huge kernel and remade the initrd,readjusted fstab, and re-ran lilo...

And I was back in business.
I have no idea what went wrong because I did not see any
obvious errors during the update process.

Anyway, HTH
Cheers
I have a similar problem - I updated in current to kernel 2.6.32.2 and cannot boot (I am using by system with Lxubuntu at present).

I use grub to load the kernel directly however I am reading that I need a initrd file with this new kernel now? It is not present in my boot directory - it created by lilo?

Just wondering if you could explain how I make the initrd ?

Have tried the readme file example: mkinitrd -c -k 2.6.32.2 -m ext4 and various others but no go.
 
Old 01-26-2010, 07:46 PM   #26
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
http://www.slackware.com/~alien/tool...d_generator.sh

Download this script and run it. It will output the mkinitrd command you need. Run the outputted command which will create your initrd in /boot/initrd.gz.

Then edit /etc/lilo.conf with the line
PHP Code:
initrd = /boot/initrd.gz 
Rerunning lilo may or may not be neccessary.
 
Old 01-26-2010, 07:48 PM   #27
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I might have gotten ahead of myself, those insttructions are for LILO. Do you run LILO or do you boot directly from Grub?
 
Old 01-26-2010, 07:57 PM   #28
zbreaker
Member
 
Registered: Dec 2008
Location: New York
Distribution: Slack -current, siduction
Posts: 253

Rep: Reputation: 29
For future reference (in general) ...I've always found when kernel updates are in the changelog...wait a day or three for your selected mirror to sync
 
Old 01-26-2010, 08:14 PM   #29
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
vigi, the link damgar posted should help you get the correct command you need to run in order to create your initrd.

then it should be just a matter of updating grub's menu.lst file.

you can google to see some examples or maybe if you posted your menu.lst after you have created your initrd, someone here more knowledgeable in grub could assist you getting it configured?
 
Old 01-26-2010, 08:17 PM   #30
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Where exactly is the HEART of TX?
 
  


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
update has messed up X dasy2k1 SUSE / openSUSE 1 07-24-2007 04:54 AM
Warty update messed up menu pjbgravely Ubuntu 3 04-04-2005 07:45 PM
Fonts messed up after update to KDE 3.3 linuxuser2005 Mandriva 2 12-12-2004 03:41 AM
All my currunt linux questions in 1 post NL-Stitch Linux - Newbie 11 08-03-2004 12:50 AM
Last Mandrake update messed up Vodka Linux - Software 3 05-26-2004 03:10 AM

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

All times are GMT -5. The time now is 09:36 AM.

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