WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Grub2 stuck on loading...  (Read 4626 times)

Offline corepure2014

  • Newbie
  • *
  • Posts: 2
Grub2 stuck on loading...
« on: December 15, 2014, 12:17:00 AM »
Installed grub2 successfully with:
sudo grub-install --boot-directory=/mnt/sda1/boot /dev/sda

Then created grub.cfg in /mnt/sda1/boot/grub/grub.cfg

menuentry "core" {
insmod ext2
set root='(hd0,0)'
linux /boot/vmlinuz64
initrd /boot/corepure64.gz
}

But when booting in sda1, grub was stuck in "grub loading".

Any command or procedure I miss? This is my first time to install corepure64.

My fdisk -l is
/dev/sda1 *  ......83 linux
/dev/sda2     ......83 linux

I am only using /dev/sda1. /boot has the two files, vmlinuz64 and corepure64.gz



Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 764
Re: Grub2 stuck on loading...
« Reply #1 on: December 15, 2014, 02:50:46 AM »
If it were me...
When doing an experimental install, I'll copy core, core64 and pure along with their associated kernels into /boot and have a boot menu set up to test and try each one to see if there's anything I've overlooked.  99% of the time even if BIOS is not set up correctly or what-not, at very least the x86/32 core will boot which gives me access to the shell so I can go poking around to see what I missed.  This also proves your grub setup is working and all of the necessary pieces grub needs are in place.  Give it a whirl and see how it goes for you.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Grub2 stuck on loading...
« Reply #2 on: December 15, 2014, 06:10:19 AM »
I've done it slightly differently, but the result should be the same:
Code: [Select]
search --no-floppy --fs-uuid ==set-root 80f4e2e5-dab9-47eb-9255-66314c01ffac

menuentry "rootfs64" {
linux /boot/vmlinuz64 quiet text tce=UUID="80f4e2e5-dab9-47eb-9255-66314c01ffac"/tce64 waitusb=10:UUID="80f4e2e5-dab9-47eb-9255-66314c01ffac" host=boxdell noutc
initrd /boot/rootfs64.gz /boot/modules64.gz
}

Offline corepure2014

  • Newbie
  • *
  • Posts: 2
Re: Grub2 stuck on loading...
« Reply #3 on: December 15, 2014, 11:03:11 PM »
I tried this grub.cfg

menuentry "core" {
    linux /boot/vmlinuz64 quiet noswap waitusb=10:UUID="3916536c-ab5b-45f4-92de-a6b8af8ec630" tce=UUID="3916536c-ab5b-45f4-92de-a6b8af8ec630" tz=GMT-4 blacklist=bcma blacklist=ssb blacklist=b43 text
    initrd /boot/corepure64.gz /boot/modules.gz
}


But still its stuck on grub loading. I am trying to install corepure64 on vmware player.

I dont have the rootfs. The vmlinuz64 and corepure64.gz were copied from the /boot folder of the corepure64 bootable cd.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Grub2 stuck on loading...
« Reply #4 on: December 15, 2014, 11:14:08 PM »
corepure64.gz is the combination of rootfs64.gz and modules64.gz