Koozali.org: home of the SME Server

unable to find grub.conf

Offline yaseenkriel

  • *
  • 14
  • +0/-0
unable to find grub.conf
« on: December 08, 2007, 09:32:52 AM »
trying to add the following lines to grub to get the server to boot:

all-generic-ide pci=nommconf

but when i use the command nano -w /boot/grub/grub.conf

the file is empty! there are no lines to modify or update?? where is grub hiding and how do i find it?

UPDATE:

booted ubuntu live cd to see whats goin on and using gparted took a look at the drive and gparted says my drive is setup as a raid? i only have a single drive and its split into 2 partitions:

/dev/sda1
/dev/sda2

sda1 is 100mb and formated ext3 and marked as boot/raid
sda2 is 232gb and filesystem is unknown

now i even i with my limited knowledge know this weird but exciting! gonna be a fun weekend!

gonna try reinstalling and manually setting up my harddrive.
« Last Edit: December 08, 2007, 09:56:56 AM by yaseenkriel »

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: unable to find grub.conf
« Reply #1 on: December 08, 2007, 10:27:34 AM »
I logged in as ROOT and tried the command you posted and it found a very populated grub.conf.

Read the manual.

There are now some command line parameters to disable the creation of a degraded RAID array. Thats what you get by default when you install with one drive.
Regards,
William

IF I give advise.. It's only if it was me....

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: unable to find grub.conf
« Reply #2 on: December 08, 2007, 10:58:56 AM »
after reinstalling it seems to be workin. thanx for the advise.  :-o

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: unable to find grub.conf
« Reply #3 on: December 09, 2007, 07:00:05 PM »
Finally got this sorted 100%

best way to get everything working is to do the installation with the noraid option like this:

sme all-generic-ide pci=nommconf noraid

and once the installation is done access to the grub file is available with no issues using this command:

nano -w /boot/grub/grub.conf

if u do not use the noraid option then access to the grub file is not available and if u do manage to get access to the file any updates to the file does not take effect.

this topic is related to this one:

http://forums.contribs.org/index.php?topic=39350.0

cause this is how it all started. sorry for the double post but i thought it was a separate issue. thanx for all the help!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: unable to find grub.conf
« Reply #4 on: December 10, 2007, 01:10:54 AM »


if u do not use the noraid option then access to the grub file is not available and if u do manage to get access to the file any updates to the file does not take effect.



Are you sure about that. I never use the noraid option yet I still have full access to grub.conf.
Regards,
William

IF I give advise.. It's only if it was me....

Offline raem

  • *
  • 3,972
  • +4/-0
Re: unable to find grub.conf
« Reply #5 on: December 10, 2007, 08:01:41 AM »
yaseenkriel

Quote
I never use the noraid option yet I still have full access to grub.conf.

Same here.


Quote
but when i use the command nano -w /boot/grub/grub.conf
the file is empty!

Sounds suspiciously like a mistyped command, and you simply opened a new file that actually was empty.

Use the up cursor arrow to check through the previous commands you typed, and confirm if you typed it incorrectly or not.
...

Offline yaseenkriel

  • *
  • 14
  • +0/-0
Re: unable to find grub.conf
« Reply #6 on: December 10, 2007, 08:29:05 AM »
unfortunately, i am not able to go back since the server is now installed and about to be delivered. i worked on this installation the whole weekend and double checked each step. the only way i got everything to work correctly was to use the noraid option.

this is the hardware spec:

intel guardfish Q965G motherboard
conroe core-2-duo CPU
1gig Ram
sony optical drive
250gig sata drive

the above chipset is known to cause issues with sme. maybe i did make a mistake somewhere cause i was frustrated and ready to take a hammer to the hardware but raid was never an option to begin with and it did get things to work from my perspective.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: unable to find grub.conf
« Reply #7 on: December 10, 2007, 08:44:05 AM »
yaseenkriel

Quote
..the only way i got everything to work correctly was to use the noraid option.
.....250gig sata drive

Why install a sme server without at least RAID1 software mirrored drives for data security & integrity ?
Hard drives are relatively cheap and having a second mirrored drive is standard practice.
...