From: Gordan B. <go...@bo...> - 2007-10-11 10:15:05
|
On Thu, 11 Oct 2007, Marc Grimme wrote: >>>>>>>> And, obviously, I'd need to make all this happen before the normal >>>>>>>> boot process tries to mount the root disk. >>>>>>> >>>>>>> Do it before or right after scsi-start is called. >>>>>> >>>>>> I can't find any reference to "scsi-start". Where does this happen? >>>>> >>>>> It's scsi_start in linux.generic.sh Line 239. >>>> >>>> D'oh! What a difference an _ makes. >>>> >>>> I think the iSCSI stuff should be added before the dm_start stuff, which >>>> is just before the scsi_start. >>>> >>>> Right, that seems to have worked. Almost there. Now I get: >>>> >>>> Mounting LABEL=/ on /mnt/newroot..device not found error [FAILED] >>>> Mounting /cdsl.local on /cluster/cdsl/3..no cdsldir found >>>> "/mnt/mewroot//cluster/cdsl" >>>> Could not mount cdsl /cdsl.local to /cluster/cdsl/3. Exiting >>>> >>>> Where does it get the LABEL=/ from? I'm pretty sure I didn't set any. >>> >>> Concerning LABEL=/ >>> I think you should check you bootloader config and change root=LABEL=/ to >>> root=/dev/sd.. That should do it. >> >> What files is that in? > > this is setup by your root environment. Normally in grub. There should be > something comparable on your pxe environment if you use it. > default from redhat: > [root@mobilix-01 ~]# cat /proc/cmdline > ro root=LABEL=/ rhgb quiet > sharedroot cluster: > [root@axqa03_1 ~]# cat /proc/cmdline > root=/dev/vg_axqa03_sr/lv_sharedroot com-step com-debug Oh, THAT root= parameter! Right. I'm feeling really stupid now. :'( Gordan |