LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2002, 10:54 PM   #1
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
Booting Slackware 8.1 only from diskette


Hello everyone this is my first post :O)

I used to use Mandrake 8.0 for the longest time but I've decided to try out Slackware 8.1. I have it all installed but I have 3 problems.

1) Have to boot off diskette... I have 3 partitions on my 2.7GB drive /dev/hda1 64MB Linux Swap (SELECTED AS BOOTABLE)
/dev/hda2 400MB Linux Extended
/dev/hda5 2.3GB Linux
The install made theses.....

I tried changing the hda5 to be bootable only and together with hda1 and they both needed the boot diskette... I think i might not have this initial setup right with kernels and all. Please help me on this. Maybe some commands or the lilo file i need to make or point to kernel.

2) Mouse doesn't work in startX -- I dont think the keyboard is working either once I go to startX...I have to reboot after typing startx and it fully loads. I can't change scroll lock so I'm pretty sure the keyboard doesn't work. It doesn't lock up though because the clock changes in KDE 3.0

3) I can get on the internet with lynx on the local system, but I can't telnet to my linux box. I had this working with mandrake... commands are different in slackware so I don't have a really good step by step, but the 3Com is being recognized and I have the 192.168... in etc/hosts and my cable router is pointing to that 192 for port 20,21,23,10000.

Any help would be greatly appreciated I want to try to knock out theses problems one at a time so I can get started on my Samba setup next ;O)

Ohh yeah one last thing. The motd file how do I make it so it doesn't reset itself on bootup?!?!

Thanks in Advance. My AOL screen name is Rufusmania if it would be easier to chat about this or just email me at Rufusmania@aol.com I'll be up for another 4 hours or so
 
Old 08-06-2002, 11:11 PM   #2
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Hmm I was hoping I could get this telnet working for work tomorrow so I can use AOL instant Messenger ;O) from my desk
 
Old 08-07-2002, 12:05 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what's the error on the hard drive boot? It sounds like lilo needs to be setup. post your lilo.conf file and the output of df


What's wrong with telnet? can you ping the machine?


the mouse and keyboard thing sounds like a problem with XF86Config-4 did you use Xconfigurator?
 
Old 08-07-2002, 12:24 AM   #4
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
as for motd , put these line in one of your initialisation files :

echo "Your Message here" > /etc/motd

(possibly in /etc/rc.d/rc.local)
 
Old 08-07-2002, 10:24 AM   #5
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
I don't know what the Xconfig command is for Slackware?

TELNET
I can ping 127.0.0.1 on the linux machine and I can also ping 192.168.0.119 (linux machine) from a windows computer, but when I try to telnet into it, it says could not open connection to host: connection failed.
I don't know if this is connection with the problem but I get a dhcpcd[59]:broadcastAddr optin is missing in DHCP servier response Assuming 192.168.0.255, but I haven't made a change to the router since I installed this new version of linux.

I'll post lilo.conf
 
Old 08-07-2002, 10:38 AM   #6
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
LILO.CONF in /etc/lilo.conf (I made this from the example lilo.conf-sample)

boot = /dev/hda (I had hda5 here but that didn't work either)
map = /boot/.map
lba32
install = /boot/boot-menu.b
prompt
timeout=150
delay=30
read-only
serial=0,9600
loader=/boot/chain.b
disk=/dev/hda bios=0x80
disk=/dev/hdb bios=0x81
disk=/dev/hdc bios=0x82
disk=/dev/sda bios=0x83

image=/dd/boot/vmlinuz-2.4.2
label=2.4.2
root=current
append="reboot=warm"

then i got windoze,backup kernels...

other=/dev/hda
label=MBR

DF produces

FILESYSTEM 1k-blocks USED AVAILABLE Use% Mounted on
/dev/hda5 2390864 1769864 621000 75% /

When i installed this was confusing i didn't make a /,/home, or /usr
it automatically made a linux swap (hda1) ,linux (hda5), and linux extended (hda2) and the swap is marked as bootable in fdisk...

with this df does this means my linux extended hda2 is not even being used?? its 400mb and I would like to put it to good use.

Thanks for the help in advance, any comments to get this thing booted up except on diskette would be appreciated. Oh yeah when i boot it up without the disk it says PRESS ANY KEY TO REBOOT.
 
Old 08-07-2002, 10:12 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I have some questions.

Do you have a /boot directory? Is there a file named .map in there? Run the command ls -a /boot to see any hidden files.

Do you have a /dd directory?

Run the command fdisk -l /dev/hda and post its output.

About the error message " PRESS ANY KEY TO REBOOT ", it's probably because your swap partition is marked bootable. With no operating system on your swap partition, there's nothing to boot so you're getting the error.
 
Old 08-07-2002, 10:53 PM   #8
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
yes i have a boot directory...
I do not have a file called .map

Here are all the files in the /boot directory
system.map@ System.map-ide-2.4.18 boot.b@
mbr.b config@ chain.b config-ide-2.4.18 vmlinuz-ide-2.4.18
vmlinuz@ os2_d.b boot-bmp.b boot-menu.b boot-text.b

I don't have a dd directory that I can see....I guess that was for example huh?

fdisk -l /dev/hda output:

disk /dev/hda 128heads, 63 sectors, 656 cylinders
Units = cylinders of 8064 * 512 bytes

device boot start end blcoks id system
/dev/hda1 1 63 253984+ 82 Linux Swap
/dev/hda2 64 165 4411264 85 Linux Extended
/dev/hda5 64 656 2390944+ 83 Linux

I'm going to try to manipulate the lilo.conf file and set the boot to linux instead of linux swap. Let me know what you guys think I should do to fix this! Thanks in advance

Justin
 
Old 08-07-2002, 10:58 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if you are sure your root drive is right then try init=/bin/bash rw
 
Old 08-07-2002, 11:57 PM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Change your lilo.conf file to look like below:

boot = /dev/hda
map = /boot/system.map
lba32
install = /boot/boot-menu.b
prompt
timeout=150
delay=30
#serial=0,9600
#loader=/boot/chain.b
disk=/dev/hda bios=0x80
disk=/dev/hdb bios=0x81
disk=/dev/hdc bios=0x82
disk=/dev/sda bios=0x83

image=/boot/vmlinuz
label=2.4.2
root=/dev/hda5
read-only
append="reboot=warm"


then i got windoze,backup kernels...

other=/dev/hda
label=MBR

Run /sbin/lilo and reboot.
 
Old 08-08-2002, 12:10 PM   #11
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Hmm I'm still getting the Press any key to Reboot message..
I made the lilo.conf file in /etc the same as you said above. I ran lilo in /sbin and it said
Added 2.4.2 *
Added MBR

I took the windows and redhat ones out (well commented)..
The fdisk print out shows hda5 is now bootable ONLY

Ok I think its working but I just want to check is a pink screen with option 2.4.2 and MBR suppose to come up :O)

Thanks guys for your help!!

Now I just have to fix telnet, setup the mouse for startx, and start getting samba to work :OX

Justin
 
Old 08-08-2002, 08:32 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Quote:
Hmm I'm still getting the Press any key to Reboot message..
I made the lilo.conf file in /etc the same as you said above. I ran lilo in /sbin and it said
Added 2.4.2 *
Added MBR
You could remove these lines:

other=/dev/hda
label=MBR

If you selected MBR, I think it would restart lilo. There's no sense in restarting lilo.


Quote:
I took the windows and redhat ones out (well commented)..
Were you booting windows and red hat using this lilo.conf?

Quote:
Ok I think its working but I just want to check is a pink screen with option 2.4.2 and MBR suppose to come up :O)
Yes, it's working.

Quote:
Thanks guys for your help!!
You're welcome.
 
Old 08-08-2002, 10:19 PM   #13
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks Guys for all your Help!!
I got another question for you though,

how do i get the mouse to work , i can not find Xconfig!?
 
Old 08-09-2002, 10:01 PM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Quote:
Originally posted by Rufus330Ci
Thanks Guys for all your Help!!
I got another question for you though,

how do i get the mouse to work , i can not find Xconfig!?
Check out this thread:

http://www.linuxquestions.org/questi...threadid=27586
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting up slackware hylke Linux - Newbie 4 09-30-2004 10:09 AM
Slackware 8.1 Not Booting x-1 Linux - Newbie 5 05-17-2004 10:05 AM
Booting into slackware 9.1 looneytunes Linux - Newbie 4 04-18-2004 04:48 PM
slackware setup formatting diskette as 1.68 but its only 1.44 veritas Slackware 3 04-01-2004 04:17 PM
booting slackware props666999 Linux - General 4 10-27-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:16 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