From: Marc G. <gr...@at...> - 2009-03-04 21:01:27
|
Hi Stefano, everything looks ok. Too mount the clusterfs to /mnt/newroot is ok. First the rootfs is mounted to /mnt/newroot and later on changed to /. But what happens then? Is the bootprocess hanging? The only thing I can see is that you should uncomment the first line in /etc/fstab: On Tuesday 03 March 2009 15:15:37 Stefano Elmopi wrote: > Hi Marc, > > thanks for your suggestions, now the process goes forward..... but I > have other problems.....sigh !!! > From what I understand, it seems to me wrong mounting the new root. > My idea is to have the Grub on the local server and then switch the > Root on OCFS2 partition. > My file grub.conf: > > cat /boot/grub/grub.conf > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3 > # initrd /initrd-version.img > #boot=/dev/cciss/c0d0 > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > hiddenmenu > title CentOS (2.6.18-92.1.22.el5PAE) > root (hd0,0) > kernel /vmlinuz-2.6.18-92.1.22.el5PAE ro root=/dev/sda com- > debug com-stepmod > initrd /initrd_sr-2.6.18-92.1.22.el5PAE.img > > > then I have the file fstab on the newroot: > > cat /mnt/newroot/etc/fstab > /dev/sda / ocfs2 defaults 0 0 > #LABEL=/tmp /tmp ext3 > defaults 1 2 > #LABEL=/var /var ext3 > defaults 1 2 > #LABEL=/usr /usr ext3 > defaults 1 2 > /dev/cciss/c0d0p1 /boot ext3 > defaults 1 2 > tmpfs /dev/shm tmpfs > defaults 0 0 > devpts /dev/pts devpts > gid=5,mode=620 0 0 > sysfs /sys sysfs > defaults 0 0 > proc /proc proc > defaults 0 0 > LABEL=SW-cciss/c0d0p2 swap swap > defaults 0 0 > > > I have attached the log files that produced the server but that sounds > strange to me > is that in the Repository list, in the log files, there is the entry: > > newroot:/mnt/newroot > > should not be: > > newroot:/ > > where it should be the file Repository ?? > > Thanks -- Gruss / Regards, Marc Grimme Phone: +49-89 452 3538-14 http://www.atix.de/ http://www.open-sharedroot.org/ ATIX Informationstechnologie und Consulting AG | Einsteinstrasse 10 | 85716 Unterschleissheim | www.atix.de | www.open-sharedroot.org Registergericht: Amtsgericht Muenchen, Registernummer: HRB 168930, USt.-Id.: DE209485962 | Vorstand: Marc Grimme, Mark Hlawatschek, Thomas Merz (Vors.) | Vorsitzender des Aufsichtsrats: Dr. Martin Buss |