LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 04-03-2005, 01:25 PM   #1
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Arch Linux hard disk naming


I would like to checkout Arch Linux, but I am bit confused with the whole disk naming thing. I would like to install on /dev/hdb5 but Arch obviously names disks differently, so can you point me into the right direction.
 
Old 04-03-2005, 05:26 PM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
This partition (hdb5) will be recognised as
/dev/discs/disc1/part5
during Arch installation.

I'm sure you've seen it already, but in case you haven't the wiki for arch installation at archlinux.org is very good.
 
Old 04-03-2005, 08:22 PM   #3
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
If you're careful not to install devfsd, and use udev and a 2.6 kernel, you should find that the proper device names are back once the system is installed and running.
 
Old 04-03-2005, 08:53 PM   #4
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Just a quick question re devfs and udev. I'm running udev with the current 2.6 kernel. Why is that my devices are in the /dev/discs/disc...... format? Is there a trick to get them into the /dev/hda...... format we're all used to? - presumably I have to change the udev rules or something.
 
Old 04-03-2005, 09:21 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 73
Well, for some reason it won't install on that particular partition, I get an error that the installer could not mount /mnt. It will however install on /dev/hda1, but thats where my main distro is, so I can't overwrite that. I will have to try on another machine some other time.
 
Old 04-04-2005, 06:05 AM   #6
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
Quote:
Originally posted by dcdbutler
Just a quick question re devfs and udev. I'm running udev with the current 2.6 kernel. Why is that my devices are in the /dev/discs/disc...... format? Is there a trick to get them into the /dev/hda...... format we're all used to? - presumably I have to change the udev rules or something.
Is devfsd installed? If so, then Arch will use that in preference to udev. Try running pacman -Q devfsd . If it gives you a version number, then it's installed and you aren't using udev.

If you don't have devfsd, then you may still have the /dev/discs/whatever structure, but all the devices should just be symlinks to the proper /dev/hd* devices. You can get rid of them altogether by disabling an option in the kernel (although there may be a way to do it with udev), but I wouldn't recommend it.
 
Old 04-04-2005, 07:37 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
If you use the stock Arch kernel you also need to add a parameter to the kernel line in your Grub config. Read the wiki it has all sorts of great info in it.
 
Old 04-04-2005, 07:46 AM   #8
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
I don't think that's necessary as long as you never install devfsd. The relevant part of /etc/rc.sysinit :
Code:
if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then
	# Looks like devfs is running, use it
	status "Starting DevFS Daemon" /sbin/devfsd /dev
elif [ -x /etc/start_udev -a -d /sys/block ]; then
	# We have a start_udev script and /sys appears to be mounted, use UDev
	status "Starting UDev Daemon" /etc/start_udev
else
	# Static /dev, our last resort
	status "Using static /dev filesystem" /bin/true
fi
If you haven't installed devfsd, then the first condition will be false, and udev will be used instead.

Last edited by AxelFendersson; 04-04-2005 at 07:50 AM.
 
Old 04-04-2005, 10:02 PM   #9
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Ahh looks like that's the case then.
 
Old 04-05-2005, 08:56 PM   #10
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Well, it turns out I was using devfs all along, not sure how that happened, must have been on autopilot during the installation.

Now, switched to udev on notebook and desktop so all is as it should be.
For anyone interested, here's a link explaining udev vs devfs

http://www.kernel.org/pub/linux/util...tplug/udev-FAQ

Cheers!
 
Old 04-05-2005, 10:38 PM   #11
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
I just went through all my rc.* files, rc.d/functions and rc.d/network optimising it for my setup. Boots awful fast now, I love it
 
Old 04-21-2005, 10:25 AM   #12
wrytin
LQ Newbie
 
Registered: Apr 2005
Location: Cantong
Distribution: arch
Posts: 3

Rep: Reputation: 0
it is a problem.my harddisk only has 5 partitions,but arch show me 6,so when i setup arch,i have to guess which no which yes.
 
Old 04-21-2005, 11:11 AM   #13
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
I suspect one of them is an extended partition, with two logical partitions inside it.
 
Old 04-21-2005, 11:50 AM   #14
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 73
Does arch have a problem with extended partitions because it won't install on mine, but installs fine on a primary partition.
 
Old 04-21-2005, 03:22 PM   #15
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
I don't think so. I've got it installed quite happily on a logical partition.
 
  


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM
Is Arch Linux as hard to install as it sounds? opafire Arch 25 02-07-2004 03:44 AM
I really want to try Arch, is it hard to fix the fonts? frontier1 Arch 2 12-05-2003 09:07 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration