Arch This Forum is for the discussion of Arch Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-03-2005, 01:25 PM
|
#1
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
04-03-2005, 05:26 PM
|
#2
|
Member
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502
Rep:
|
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.
|
|
|
04-03-2005, 08:22 PM
|
#3
|
Member
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184
Rep:
|
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.
|
|
|
04-03-2005, 08:53 PM
|
#4
|
Member
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502
Rep:
|
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.
|
|
|
04-03-2005, 09:21 PM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Original Poster
Rep:
|
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.
|
|
|
04-04-2005, 06:05 AM
|
#6
|
Member
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184
Rep:
|
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.
|
|
|
04-04-2005, 07:37 AM
|
#7
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
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.
|
|
|
04-04-2005, 07:46 AM
|
#8
|
Member
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184
Rep:
|
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.
|
|
|
04-04-2005, 10:02 PM
|
#9
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
Ahh looks like that's the case then.
|
|
|
04-05-2005, 08:56 PM
|
#10
|
Member
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502
Rep:
|
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!
|
|
|
04-05-2005, 10:38 PM
|
#11
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
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 
|
|
|
04-21-2005, 10:25 AM
|
#12
|
LQ Newbie
Registered: Apr 2005
Location: Cantong
Distribution: arch
Posts: 3
Rep:
|
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.
|
|
|
04-21-2005, 11:11 AM
|
#13
|
Member
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184
Rep:
|
I suspect one of them is an extended partition, with two logical partitions inside it.
|
|
|
04-21-2005, 11:50 AM
|
#14
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Original Poster
Rep:
|
Does arch have a problem with extended partitions because it won't install on mine, but installs fine on a primary partition.
|
|
|
04-21-2005, 03:22 PM
|
#15
|
Member
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184
Rep:
|
I don't think so. I've got it installed quite happily on a logical partition.
|
|
|
All times are GMT -5. The time now is 07:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|