Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59
Rep:
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
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59
Original Poster
Rep:
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.
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.
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.
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59
Original Poster
Rep:
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
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59
Original Poster
Rep:
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
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.