LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2006, 05:06 PM   #1
subjazz
Member
 
Registered: May 2004
Location: Rodeo by the Bay
Distribution: Ubuntu;dosbox;Debian;BSD 6.0
Posts: 65

Rep: Reputation: 15
Slack 10.2 cfdisk does not see HD


boot: test26.s
Slackware 10.2 does not see hard drive when entering cfdisk but see's my cdrom only. Is there a solution for this?
I read that this might work: boot: test26.s root=/dev/hda1 noinitrd ro. I don't understand the noinitrd ro part.
For now Slackware will not install due to it wanting to see my dvd/cdrom instead of my hard drive for partitioning.
Help appreciated. Thanks.
 
Old 05-14-2006, 05:35 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
When you boot from the installation CD, the first thing it asks you is which kernel you want to load. There's a bootdisks/README.TXT file on that CD that describes each of the choices. Choose the one that supports your HD and controller, and your problem will go away.

If you have SATA controller, for example, you would choose the kernel with SATA support.
 
Old 05-15-2006, 07:09 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by subjazz
boot: test26.s
Slackware 10.2 does not see hard drive when entering cfdisk but see's my cdrom only. Is there a solution for this?
I read that this might work: boot: test26.s root=/dev/hda1 noinitrd ro. I don't understand the noinitrd ro part.
For now Slackware will not install due to it wanting to see my dvd/cdrom instead of my hard drive for partitioning.
Help appreciated. Thanks.
Hi,

I will respond to your question for the;

Quote:
boot: test26.s root=/dev/hda1 noinitrd ro
This would be used to boot the test26.s kernel for the root of device hda1 with no init ram disk and mount it read only. You can get information using;

Code:
#man initrd
Dugan gave you some good information concerning the boot.

If want to diagnos the problem. When you boot the OS you could do a;

Code:
#fdisk -l                   #to see disk device recognized
#dmesg |grep hd             #this should show /dev/hd* seen
#lspci -vv                  #show pci device
I suspect as dugan does that you are using SATA for the hard disk storage media.
 
Old 05-15-2006, 10:06 AM   #4
nonades
Member
 
Registered: Sep 2005
Location: VTC, VT
Distribution: Fedora 11
Posts: 46

Rep: Reputation: 15
I had/have this problem too.

My solution: cfdisk /dev/<hd location>

For my compy it's: cfdisk /dev/sda1

My HDDs are SATA drives and when it fist asks you to use a boot kernel I use (I think) sata.i image.
 
Old 05-15-2006, 10:59 AM   #5
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
Quote:
My HDDs are SATA drives and when it fist asks you to use a boot kernel I use (I think) sata.i image.
You need to read the kernel image info.

Some of your older controllers work with the sata kernels, most of the new ones will work with the test26 kernel. And yes, I believe cfdisk defaults to using /dev/hda, so if you are one scsi/sata you might need to use "cfdisk /dev/sda"



Soule
 
Old 05-18-2006, 06:25 AM   #6
subjazz
Member
 
Registered: May 2004
Location: Rodeo by the Bay
Distribution: Ubuntu;dosbox;Debian;BSD 6.0
Posts: 65

Original Poster
Rep: Reputation: 15
New computer using IDE /ATAPI Drives. IDE controller.
Will try finding the device (i.e /dev/hda1) and get back this weekend to post results.
This by the way happens at the begining of the install before going to #setup.

Last edited by subjazz; 05-18-2006 at 06:27 AM.
 
Old 05-18-2006, 01:16 PM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by subjazz
New computer using IDE /ATAPI Drives. IDE controller.
Will try finding the device (i.e /dev/hda1) and get back this weekend to post results.
This by the way happens at the begining of the install before going to #setup.
I had a similar problem running fdisk and cfdisk on my IBM unit with a scsi HD. Once I booted with a scsi enabled kernel then fdisk /dev/sda worked just fine.
 
Old 05-18-2006, 06:51 PM   #8
subjazz
Member
 
Registered: May 2004
Location: Rodeo by the Bay
Distribution: Ubuntu;dosbox;Debian;BSD 6.0
Posts: 65

Original Poster
Rep: Reputation: 15
After the kernel decompresses the "dmesg" boot messages give out the /dev for the hard drive. Mine was /dev/hdc.
I did the following after restarting the system again:
boot: test26.s root=/dev/hdc rw
prior to "setup"
#cfdisk /dev/hdc
I now see's my hard drive's partition table rather than my cdrom which was /dev/hda that Slack presumes is the HD by default.

Last edited by subjazz; 05-20-2006 at 01:16 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cfdisk SaintsOfTheDiamond Slackware - Installation 6 01-18-2006 01:03 AM
cfdisk hylke Linux - Newbie 9 05-22-2004 02:47 PM
help with cfdisk comprookie2000 Linux - Newbie 1 02-19-2004 12:25 AM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM
regarding cfdisk rahul_jain_9684 Linux - Software 2 07-25-2003 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:09 PM.

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