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!
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.
hello guyz ,
it`s gaves me these error when am trying to boot slackware
VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS Unable to mount root fs on unknown-block(0,0)
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:
Code:
title Arch Linux [/boot/vmlinuz26]
root (hd0,1)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
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)
pixellany look at the default number in his first post, you are assuming his slack is on sda1. 7mza if you can boot to a terminal on a live cd type 'fdisk -ln' as root and post us the results here.
Last edited by Larry Webb; 09-01-2008 at 11:53 AM.
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.
All along, I have assumed that the issue was with the configuration for Slackware, and that OP knew to select the right thing from the boot menu.....
7mza;
If you're still with us, give us the output of:
fdisk -l (run this as root---sometimes needs to be /sbin/fdisk -l
all entries in /boot/grub/menu.lst
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.