Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
Next question: what drive does the system see it as? You can try adding rdshell to the end of the kernel line in grub, which gives you a very rudimentary shell, and you can see what drive the *system* thinks it is. Bet it's not grub's (hd0,0). mark Mark Ok I booted back up this

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Jerry Geis wrote: Next question: what drive does the system see it as? You can try adding rdshell to the end of the kernel line in grub, which gives you a very rudimentary shell, and you can see what drive the *system* thinks it is. Bet it's not grub's (hd0,0). Ok I booted back up this

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
You need to read the help while in rdshell. For some obscure reason, there doesn't seem to be a man page, at least on the first page of googling, and that after trying a man on it. Try looking at http://tuxers.com/main/instigating-a-manual-boot-from-the-grub-prompt/ Yes, I know he's ubuntu,

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Jerry Geis wrote: You need to read the help while in rdshell. For some obscure reason, there doesn't seem to be a man page, at least on the first page of googling, and that after trying a man on it. Try looking at http://tuxers.com/main/instigating-a-manual-boot-from-the-grub-prompt/ Yes, I

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
*setup (hd0)* Checking if /boot/grub/stage1 exists... no Checking if /grub/stage1 exists... yes Checking if /grub/stage2 exists... yes Checking if /grub/e2fs_stage1_5 exists... yes Running embed /grub/e2fs_stage1_5 (hd0)... 16 sectors are embedded. succeeded Running install /grub/stage1

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Jerry Geis wrote: *setup (hd0)* Checking if /boot/grub/stage1 exists... no Checking if /grub/stage1 exists... yes Checking if /grub/stage2 exists... yes Checking if /grub/e2fs_stage1_5 exists... yes Running embed /grub/e2fs_stage1_5 (hd0)... 16 sectors are embedded. succeeded Running

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Yves Bellefeuille
m.r...@5-cent.us wrote: Good reference: http://wiki.centos.org/HowTos/GrubInstallation I'm the author of the said good reference, and I would again suggest that you check /etc/fstab to make sure that it agrees with grub.conf about the location of / . Yves Bellefeuille

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Yves Bellefeuille wrote: m.r...@5-cent.us wrote: Good reference: http://wiki.centos.org/HowTos/GrubInstallation I'm the author of the said good reference, and I would again suggest that you check /etc/fstab to make sure that it agrees with grub.conf about the location of / . Oh, right,

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
yes on the kernel command line I have: kernel /boot/vmlinuz-2.6.32.59 ro root=LABEL=/ and in the /etc/fstab I have LABEL=//ext4defaults,noatime11 I have verified that /dev/sda1 has label / Jerry ___ CentOS mailing list

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Yves Bellefeuille
Jerry Geis wrote: kernel /boot/vmlinuz-2.6.32.59 ro root=LABEL=/ and in the /etc/fstab I have LABEL=//ext4defaults,noatime11 I have verified that /dev/sda1 has label / Because of the information in a previous message, I think you have a separate partition for

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
Because of the information in a previous message, I think you have a separate partition for /boot. Is that the case and, if so, did you consider section 5.1 of the Grub Installation information? (For what it's worth, I don't recommend having a separate partition for /boot.) Also,

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
On 09/17/2012 01:04 PM, Jerry Geis wrote: Because of the information in a previous message, I think you have a separate partition for /boot. Is that the case and, if so, did you consider section 5.1 of the Grub Installation information? (For what it's worth, I don't recommend having a

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
On 09/17/2012 01:04 PM, Jerry Geis wrote: On 09/17/2012 01:04 PM, Jerry Geis wrote: Because of the information in a previous message, I think you have a separate partition for /boot. Is that the case and, if so, did you consider section 5.1 of the Grub Installation information? (For what

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Jerry Geis wrote: On 09/17/2012 01:04 PM, Jerry Geis wrote: On 09/17/2012 01:04 PM, Jerry Geis wrote: Because of the information in a previous message, I think you have a separate partition for /boot. Is that the case and, if so, did you consider section 5.1 of the Grub Installation

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
Hmmm... you built it. I missed that. Here's a thought: when you built it, was it *running* on the cf card? If not, consider booting linux rescue, chroot to the mounted filesystem, and rebuild initrfs, to make sure that the driver for the cf card is in the init. I dont have the external DVD

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread Jerry Geis
On 09/17/2012 02:21 PM, Jerry Geis wrote: Hmmm... you built it. I missed that. Here's a thought: when you built it, was it *running* on the cf card? If not, consider booting linux rescue, chroot to the mounted filesystem, and rebuild initrfs, to make sure that the driver for the cf card is in

Re: [CentOS] directory /dev/disk/by-label

2012-09-17 Thread m . roth
Jerry Geis wrote: On 09/17/2012 02:21 PM, Jerry Geis wrote: Hmmm... you built it. I missed that. Here's a thought: when you built it, was it *running* on the cf card? If not, consider booting linux rescue, chroot to the mounted filesystem, and rebuild initrfs, to make sure that the driver for

[CentOS] directory /dev/disk/by-label

2012-09-14 Thread Jerry Geis
I am trying to create a CF card that boots 686 CentOS 6.3 On boot I get a message about /dev/disk/by-label/\x2f where \x2f is / cannot be found. Adding rdshell to the boot line and booting up sure enough the /dev/disk directory does not exist. What creates that early on in the boot process?

Re: [CentOS] directory /dev/disk/by-label

2012-09-14 Thread m . roth
Jerry Geis wrote: I am trying to create a CF card that boots 686 CentOS 6.3 On boot I get a message about /dev/disk/by-label/\x2f where \x2f is / cannot be found. Adding rdshell to the boot line and booting up sure enough the /dev/disk directory does not exist. What creates that early on

Re: [CentOS] directory /dev/disk/by-label

2012-09-14 Thread Jerry Geis
If you load the card into something else, and look at the label (e2label ...), is the card partition labelled? mark mark Yes one of the steps I did was use e2label /dev/sda1 / I did run e2label /dev/sda1 and it said / Jerry ___ CentOS

Re: [CentOS] directory /dev/disk/by-label

2012-09-14 Thread m . roth
Jerry Geis wrote: If you load the card into something else, and look at the label (e2label ...), is the card partition labelled? Yes one of the steps I did was use e2label /dev/sda1 / I did run e2label /dev/sda1 and it said / Next question: what drive does the system see it as? You can try

Re: [CentOS] directory /dev/disk/by-label

2012-09-14 Thread Yves Bellefeuille
On Friday 14 September 2012, Jerry Geis ge...@pagestation.com wrote: My CF card was changed from UUID to LABEL. So I edited grub.conf and make root=LABEL=/ like the OLD 5.X days. Clearly I have missed something else when swithing back to a LABEL method. I want to use LABEL because I want to