LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
LinkBack Search this Thread
Old 03-08-2006, 04:55 AM   #1
lokus
LQ Newbie
 
Registered: Mar 2006
Location: New Jersey
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Slackware installation, boot issues and updating


Hey guys. I am new to slackware. I have a few issues with my install and I am looking for advice. I will number them out. Please see if you can help me.

1)Lilo configuration: During install I select expert LILO setup because I need to point it to /dev/hdb (my hdd). My harddrive has 2 partitions, /dev/hdb1 for swap (512) and /dev/hdb2 for '/'. During expert setup I set LILO to /dev/hdb2, boot from MBR, booting using /boot/vmlinuz and defined the boot partition to be /dev/hdb2. For some reason when my installation is completed it tells me to reboot. Ok. I'm fine with that. When it reboots the screen is black and a bunch of 02 02 start to scroll across my computer screen. It just goes 02 02 02 02 02 02 02 02 02...etc. Very wierd. It does not boot into linux then. Did I do something wrong? During the install I chose a standard linux view (i forget what it is exactly called, but I chose Normal Mode instead of like VGA 1024x768x256). I really don't know what the issue is but it is frustrating me.

2) My second issue deals with Swaret and updating slackware with necessary packages. I downloaded the most recent stable version off of their sourceforge website. i extract the files and modify the .conf file like it states. When I try to run and install it using ./doisnt.h it tells me to properly config my .conf file and run the application...When I try to run the application it says No such file or directly. (I tried doing swaret --update). Am I doing something wrong here with the installation? Are there other slackware update tools or what is good to use?

I thought I had a few more issues but if I can remember them I'll make sure to post them . Thanks and hope you can help.
 
Old 03-08-2006, 05:40 AM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Do you get the LILO prompt when you boot your system or these 02s shower your screen even before you see the massage Grub Loading..... ? If you don't see the boot prompt reinstall LILO using the installtion CD. Otherwise, come back and shout this ain't so !

Last edited by kevkim55; 03-08-2006 at 07:10 AM.
 
Old 03-08-2006, 06:40 AM   #3
lokus
LQ Newbie
 
Registered: Mar 2006
Location: New Jersey
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
The 02 showers my screen before anything even happens and nothing ever happens. If I hit enter or anything it stops scrolling the 02 but nothing ever happens. I am bewildered :/

Last edited by lokus; 03-08-2006 at 06:41 AM.
 
Old 03-08-2006, 07:16 AM   #4
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Presuming LILO didn't install properly. You'll have to use the installation CD to reinstall LILO.
(One question I could ask you is that, did you install linux to a secondary hard drive and installed LILO to the same secondary drive ? )
Boot using the installtion CD.
At the shell prompt type:
mount /dev/hdb2 /mnt
chroot /mnt

Edit your /etc/lilo/conf file to point at /dev/hdb2 and the correct vmlinuz and initrd images along with the path. Once you've done this run
/sbin/lilo

This should reinstall lilo to the MBR depending on your configuration. Logically thinking, this should fix your problem. If not, shout back and provide more details about your disk/partition layout and the lilo.conf file.
 
Old 03-08-2006, 07:44 AM   #5
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
Another possible explanation is that the wrong kernel got installed (for example bare.i instead of sata.i) or a special filessytem is used for / and isn't compiled into the kernel.

What type of hardware are you using (motherboard, harddisk, filesystem etc.)?
 
Old 03-08-2006, 08:01 AM   #6
lokus
LQ Newbie
 
Registered: Mar 2006
Location: New Jersey
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
My disk is setup as follows. One IDE drive. /dev/hdb1 is 512mb of swap, /dev/hdb2 is the rest for '/'. I will try what you mentioned above about reconfiguring LILO and get back to you. I used the default kernel for Slack 10.2 ..Something like 2.4.*. When configuring slackware I left it to the default in the settings and did NOT select another image. I would assume this means I used bare.i. I will report back tonight..Any other opinions are welcomed. Oh. i also found out that L 02 02 02...etc is a LILO boot error code.
 
Old 03-08-2006, 10:13 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Quote:
Originally Posted by lokus
Hey guys. I am new to slackware. I have a few issues with my install and I am looking for advice. I will number them out. Please see if you can help me.

1)Lilo configuration: During install I select expert LILO setup because I need to point it to /dev/hdb (my hdd). My harddrive has 2 partitions, /dev/hdb1 for swap (512) and /dev/hdb2 for '/'. During expert setup I set LILO to /dev/hdb2, boot from MBR, booting using /boot/vmlinuz and defined the boot partition to be /dev/hdb2. For some reason when my installation is completed it tells me to reboot. Ok. I'm fine with that. When it reboots the screen is black and a bunch of 02 02 start to scroll across my computer screen. It just goes 02 02 02 02 02 02 02 02 02...etc. Very wierd. It does not boot into linux then. Did I do something wrong? During the install I chose a standard linux view (i forget what it is exactly called, but I chose Normal Mode instead of like VGA 1024x768x256). I really don't know what the issue is but it is frustrating me.
Hi,

If I read your problem description correctly, you set the boot to

/dev/hdb2. Correct? If so did you make the partition active? If so write to the superblock to get a boot from /dev/hdb2.

If you want to boot the /dev/hdb then write to that MBR.

If you want you can still use the system. Just boot using cd1
then mount /dev/hdb1 to /mnt/hd. Then chroot to it. Edit your lilo.conf to the correct device.

If you want to write to the MBR of /dev/hdb;

#lilo -v -t -b /dev/hdb #test it first
#lilo -v -b /dev/hdb #write it if all ok


If you want to write it to /dev/hdb1;

#lilo -v -t -b /dev/hdb1 #test it first
#lilo -v -b /dev/hdb1 #write it if all ok

This assumes that you have set the /dev/hdb1 as active with;

#fdisk /dev/hdb

or

#cfdisk /dev/hdb

Use the help function in either to see how to set boot active.

Indeed the 02 output is lilo boot error;

http://learnlinux.tsf.org.za/courses...in/apas02.html

A table of lilo error under the troubleshooting section.

HTH!
 
Old 03-08-2006, 11:26 AM   #8
lokus
LQ Newbie
 
Registered: Mar 2006
Location: New Jersey
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thank for you the information I will take a look when I get home. Both partitions should be active but I suppose I need to mount them first since they aren't be mounted or booted from. I can then edit the lilo.conf file. I have been using the system temporarily by booting from the CD.

What should my settings be in lilo.conf if my main partition "/" is /dev/hdb2. /dev/hdb1 is just my swap partition..Again I'll investigate this more tonight and report back. Thanks!
 
Old 03-09-2006, 06:27 AM   #9
lokus
LQ Newbie
 
Registered: Mar 2006
Location: New Jersey
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
I figured out my problem and I am quite embarassed. The jump on the hdd was set to slave. I don't know how Windows Server 2003 worked fine but Slack didn't like it. I am not up and running with Slack 10.2 and fluxbox..thanks.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
CentOS Installation & Boot Issues VCore5.0 Red Hat 1 10-19-2005 10:30 AM
Installation Issues (Dual Boot, Partitions) Nyet Linux - Newbie 7 04-03-2005 01:02 PM
Slackware 10.1 Installation Issues christian_delaf Slackware 6 03-05-2005 04:09 PM


All times are GMT -5. The time now is 05:23 AM.

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