Well,
I checked what I've written and the only hardcoding in the script I'm
using is 0, 2 or 4 disk arrays... Everything else is based on the
information available on the server.
Anyway, it's always good to find problems before they get to serious. :)
Regards,
Rickard
On Sun, 2008-09-14 at 18:22 +0200, Dennis wrote:
> Yeah .!
>
> thanks !
> never thought my grub was broken this way
>
> Rickard Osser schreef:
> > Yeah... It's working!
> > :)
> >
> > Regards,
> >
> > Rickard
> >
> >
> > On Sun, 2008-09-14 at 14:30 +0200, Dennis wrote:
> >
> >> ugh ..
> >>
> >> fixing grub folder, executing script ..
> >>
> >> [root (at mark) wb tmp]# ./fix_grub stop
> >> Rebuilding grub:
> >> Probing devices to guess BIOS drives. This may take a long time.
> >>
> >>
> >> GNU GRUB version 0.95 (640K lower / 3072K upper memory)
> >>
> >> [ Minimal BASH-like line editing is supported. For the first word, TAB
> >> lists possible command completions. Anywhere else TAB lists the possible
> >> completions of a device/filename.]
> >> grub> root (hd0,0)
> >> Filesystem type is ext2fs, partition type 0xfd
> >> grub> 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 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
> >> /grub/grub.conf"... succeeded
> >> Done.
> >> grub> root (hd1,0)
> >> Filesystem type is ext2fs, partition type 0xfd
> >> grub> setup (hd1)
> >> 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 (hd1)"... 16 sectors are embedded.
> >> succeeded
> >> Running "install /grub/stage1 (hd1) (hd1)1+16 p (hd1,0)/grub/stage2
> >> /grub/grub.conf"... succeeded
> >> Done.
> >> grub> quit
> >>
> >>
> >> seems ok not?
> >>
> >> Dennis
> >>
> >> Rickard Osser schreef:
> >>
> >>> Hi Dennis!
> >>>
> >>> Your /boot/grub directory is broken.
> >>>
> >>> Try copying all files from:
> >>> /usr/share/grub/i386-redhat
> >>> to /boot/grub
> >>>
> >>> # cp -a /usr/share/grub/i386-redhat/* /boot/grub
> >>>
> >>> And rerun the script.
> >>>
> >>> Regards,
> >>>
> >>> Rickard
> >>>
> >>>
> >>> On Sun, 2008-09-14 at 11:30 +0200, Dennis wrote:
> >>>
> >>>
> >>>> Hi Rickard,
> >>>>
> >>>> took it off-list ..
> >>>>
> >>>> -bash-3.00$ ls -al /boot/grub
> >>>> total 14
> >>>> drwxr-xr-x 2 root root 1024 Jun 19 2007 .
> >>>> drwxr-xr-x 4 root root 3072 Jun 30 19:31 ..
> >>>> -rw-r--r-- 1 root root 82 Sep 18 2005 device.map
> >>>> -rw------- 1 root root 566 Jun 19 2007 grub.conf
> >>>> lrwxrwxrwx 1 root root 11 Sep 18 2005 menu.lst -> ./grub.conf
> >>>> -rw-r--r-- 1 root root 3605 Aug 13 2006 splash.xpm.gz
> >>>>
> >>>> Just want to help with the script as I saw it was not working at my
> >>>> device ;-)
> >>>>
> >>>> -------- Originele bericht --------
> >>>> Onderwerp: [coba-e:13972] Re: Grub problems
> >>>> Datum: Sat, 13 Sep 2008 17:28:04 +0200
> >>>> Van: Rickard Osser <rickard.osser (at mark) bluapp.com>
> >>>> Antwoord-naar: coba-e (at mark) bluequartz.org
> >>>> Organisatie: BluApp
> >>>> Aan: coba-e (at mark) bluequartz.org
> >>>> Referenties: <04db01c915ae$053a2800$6401a8c0@systemax>
> >>>> <48CBD238.8060603 (at mark) mixfans.org>
> >>>>
> >>>>
> >>>>
> >>>> H Dennis,
> >>>>
> >>>> could you do a:
> >>>> # ls -al /boot/grub
> >>>>
> >>>> Regards,
> >>>>
> >>>> Rickard
> >>>>
> >>>> On Sat, 2008-09-13 at 16:46 +0200, Dennis wrote:
> >>>>
> >>>>
> >>>>> Hi Gerard,
> >>>>>
> >>>>> thanks..
> >>>>>
> >>>>> [root@wb]# cat /etc/redhat-release
> >>>>> CentOS release 4.6 (Final)
> >>>>> [root@wb]# rpm -qa | grep bluequartz
> >>>>> bluequartz-yumconf-4-0BQ3
> >>>>> base-bluequartz-capstone-5100R-1.20071210BQ77.centos4
> >>>>> base-bluequartz-glue-5100R-1.20071210BQ77.centos4
> >>>>>
> >>>>> same as you . .
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>>
> >
> >