LinuxQuestions.org
Visit Jeremy's Blog.
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 01-10-2005, 01:30 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Kernel compile question?


In the Compiling a kernel for newbies sticky above, What does the line " Note: Replace /dev/hda1 with the correct location of your root partition. " refer to?
Isnt /dev/hda1 the root partition?
Thanks
 
Old 01-10-2005, 01:47 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
hda1 is only the root partition if you chose it to be so. it could be any partition, hdg8 of you wanted... incase you're confused about the terminology, the root partition is the one that contains the / files, all the base directories etc...
 
Old 01-10-2005, 01:48 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
it depends on where you installed Slackware to. for example my root partition is /dev/hda2 (i have windows on /dev/hda1) and i also have another linux disto installed with a root of /dev/hda4.
 
Old 01-10-2005, 01:50 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
well if root is on its own partition.........

it could be /dev/hda4 or if you have 2 drives installed it could be
/dev/hdb6 , /dev/hdb9
 
Old 01-10-2005, 02:15 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
So you really dont have to change /dev/hda1 to anything if doing a kernel upgrade if youve got just one partition or hard drive?
 
Old 01-10-2005, 02:37 PM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
As long as /dev/hda1 is the root partition, no you don't have to change anything. (assuming you have an ide hard drive ).
 
Old 01-10-2005, 06:14 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks,
Would that affect the old Kernel from booting if I leave it hda1?
In case the new kernel does not boot,
I would like to be able to boot the old one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel compile question shrndegruv Linux - Software 2 09-06-2005 11:37 AM
Kernel Compile Question endfx Linux - General 1 05-29-2005 11:06 AM
Kernel Compile Question JyushinX Linux - Software 2 03-14-2005 02:27 PM
kernel compile question.... wrat Linux - Newbie 1 01-16-2005 10:12 AM
Kernel compile question ar1 Linux - General 1 05-31-2004 10:11 PM

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

All times are GMT -5. The time now is 08:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration