Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i suppose the problem is in the "root=/dev/hda1" part. hda is the name of the device, it could also be sda. the number refers to the partion. You may want to simplify your config for now until you get this sorted out. heres what mine looks like:
title Arch Linux [/boot/vmlinuz26]
kernel /vmlinuz26 root=/dev/sda3 ro
Did you try sda instead of hda (as suggested by czarr)?
also, I just noticed the space in the title--I think that may be causing problems. Try changing it to "title slackware" or "title install_slackware" (The clue is the error message--it was looking for a runlevel and found the root statement. Makes no sense)
I am talking about his default set to number two which means he has a least two distros in the menu list or he has changed the number on default. I worked one of these the other day that a guy had two drives and I did not find that out till after five posts and the distro he was having problems was on the second hd.
thnx for your help guys , yeah Larry Webb , u r right i have other distros ( windows , centos ) coz i had 2 HD one of them has Slackware and other has (Windows & CentOs) but am working now on 1st HD that has Slackware and it dosnt matter what the default number coz i choose my distros manual and c my fdisk -ln and fdisk -ln:
root@ubuntu:~# fdisk -ln
fdisk: invalid option -- n
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
root@ubuntu:~# fdisk -l
Disk /dev/hdd: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 2432 19535008+ 83 Linux
/dev/hdd2 2433 4865 19543072+ f W95 Ext'd (LBA)
/dev/hdd5 2433 3647 9759456 83 Linux
/dev/hdd6 3648 4741 8787523+ 83 Linux
/dev/hdd7 4742 4865 995998+ 83 Linux
I am sorry for the typo error, it should have been fdisk -lu but fdisk -l works also. The fdisk -l you are showing is what your bios shows to boot 4th and in order to boot from it you would have to have
root (hd3,X) the 'X' being the partition number -1 that you wanted to boot.
You need to do the fdisk -l from a live cd and not an installed distro.