Koozali.org: home of the SME Server

Grub error 15 just after usb install

Offline cyberjuls2

  • **
  • 40
  • +0/-0
Grub error 15 just after usb install
« on: January 04, 2016, 04:56:07 PM »
Just went through a usb installation, ending on error 15.

i've been installing sme 9.1 through usb after creating a bootable usb with fedora liveusb creator on windows 8. I ended by changing grub from (hd0/0) to (hd1/0). Now i'm in a restoring data process from an old sme (8.06b), will tell ya if that work.

Key is apparently at the end of the installation, it tells grub to go on the usb key wiche seems to be reallocated to hd0. No idea why, but changing this resolved my problem.

Offline cyberjuls2

  • **
  • 40
  • +0/-0
Re: Grub error 15 just after usb install
« Reply #1 on: January 05, 2016, 06:16:30 PM »
Ok didn't worked annnnnd worked finally so here is the full explanation.

To migrate from SME 8.0b6 to SME 9.1

On windows i made a USB bootable key from fedora liveusb creator. Tools is here https://fedorahosted.org/liveusb-creator/

In UEFI or bios change to boot key first. restart computer, it should boot SME installation.

Choose harddrive installation mode, then it will ask for the image, i was having two hardrive listed as hda and hdb, the usb key was the hdc (adapt these to your config) so i entered hdc as the place were it should find the image. Installation continued until reboot. Let the usb key in when it ask for formating (i tried once to pull it off before, but it will end the installation during formating). At the end it reboots, but for a reason i ignore; grub is written to usb key wich is now hd0. Pull your key out, sme won't boot. let it in you get grub, but can't go further.

In grub type c for command mode then :
Code: [Select]
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.

Pull your key out on restart, it should boot normally and ask you for the upgrade. insert the usb harddrive that was backed up from your old SME 8.0b6. Tooked 4hours for something like 300Gb.

Done.

I would just like to add that even if i know that the usb problem comes from the centOS https://wiki.centos.org/HowTos/InstallFromUSBkey (check NOTES chapter), it will be unvaluable to add a really more simple way to install via USB as more and more computer doesn't have cd/dvd rom anymore.

Anyway i'm on for the next 10 years.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Grub error 15 just after usb install
« Reply #2 on: January 05, 2016, 09:01:49 PM »
egareg

Are you referring to installing sme9.1 ?
If so then would a moderator please move this thread to the sme9.x forum.
The posts by cyberjuls2 clearly refer to sme 9.1
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Grub error 15 just after usb install
« Reply #3 on: January 06, 2016, 06:06:43 PM »