Trouble installing SolydX-64 in UEFI-mode

Questions about SolydX and SolydK installation.
xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 13 Jul 2014 17:06

Hello. I have the same problem, this is my PC:

APU: Amd A8-6600K
RAM: Corsair Vengeance DDR3 8GB 1600MHz
SSD: Samsung 120GB 840 Evo
Motherboard: Asus A88XM-A
Power Supply: Corsair cx600M

I didn't change the bios defaults except turn off secure boot, I burn the iso on a usb pen, and boot in to Solydx 64-bit (201405) without problems, but when I try to install it on the ssd I got the same error.

I set the partitions like this:

Code: Select all

/dev/sda1   Fat32   efi system partition   /boot/efi   200 MB
/dev/sda2   swap    swap                   swap        2048 MB
/dev/sda3   ext4    solydx 64-bit          /           8192 MB
/dev/sda4   ext4                           /home       104032 MB

grub /dev/sda
I set the boot flag on the Fat32 partition.

It didn't work, I couldn't boot in to the ssd.

I'm new to linux and I don't know what I'm doing, in fact this is my first linux PC so I need help installing this correctly.

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Installer requesting “An EFI system partition”

Postby xcom » 14 Jul 2014 18:25

dirigible wrote: Which terminal command did you use to list your partitions?
None, I just manually copy paste what was on the Gparted Gui.

The problem is that in all tutorials about this they are dual booting linux with windows, my PC is new, it doesn't have any OS install on it, so I need to create a efi partition to make it work but I don't know how to do it the right way.

It's very confusing I couldn't find a clear tutorial on how to do it. How big does the efi partition needs to be, some say 200 MB others 550 MB, where to install grub, by default is set to /dev/sda, should it be /dev/sda1 the efi partition?

The best information I could find about uefi and gpt was here maybe this can help.

Since I'm new to linux can some one please give me a tutorial on how to install Solydx with efi?

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Installer requesting “An EFI system partition”

Postby wayne » 15 Jul 2014 04:14

xcom wrote:
dirigible wrote: Which terminal command did you use to list your partitions?
None, I just manually copy paste what was on the Gparted Gui.

The problem is that in all tutorials about this they are dual booting linux with windows, my PC is new, it doesn't have any OS install on it, so I need to create a efi partition to make it work but I don't know how to do it the right way.

It's very confusing I couldn't find a clear tutorial on how to do it. How big does the efi partition needs to be, some say 200 MB others 550 MB, where to install grub, by default is set to /dev/sda, should it be /dev/sda1 the efi partition?

The best information I could find about uefi and gpt was here maybe this can help.

Since I'm new to linux can some one please give me a tutorial on how to install Solydx with efi?

Hi xcom,
your posts are within another thread that has different issue.

in order for a better support / helps for your issue, I suggest you create a new thread for your issue, you can copy your two posts over to the new thread..

then you could add these information:
you mentioned:
I burn the iso on a usb pen, and boot in to Solydx 64-bit (201405) without problems
1. please explain how your 'burn iso'. in Linux OS with dd? or in Windows,
2. please explain also when you boot into computer, which is UEFI capable, what are all the boot menu presented to you.
and which one you select to boot.. there are subtle yet very important.
3. which other computer you can use, Windows OS or Linux OS? you may need to create another UEFI-bootable-USB-flash to rescue your Solydx_64-bit so as to repair the booting.
4. i knew you have copy partition info via gparted,
just for clarity, boot your computer from DVD or USB running Linux in Live mode, then open a terminal, type a few commands, and post their results

Code: Select all

sudo os-prober
sudo fdisk -l
sudo parted -l

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Trouble installing SolydX-64 in UEFI-mode

Postby zerozero » 15 Jul 2014 10:05

[posts moved into its own topic]
bliss of ignorance

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 15 Jul 2014 17:03

wayne wrote:Hi xcom,
your posts are within another thread that has different issue.
I had the same error so I thought it was the same problem.

1. I follow the Solydx tutorial, format the usb pen to Fat32, download SolydX-64bit 201405 and check the md5, and then use UnetBootin to burn it on to the usb pen, just like the tutorial, and I did it on my windows 7 laptop. The problem isn't the live OS, that boots and works fine.

2. The BIOS has the CSM(Compatibility Support Module) set to Enabled, so it can boot in both UEFI and non-UEFI. The usb pen can be booted in both but I booted in UEFI mode when I install Solydx in to the SSD. The SSD doesn't have a UEFI mode to boot only non-UEFI, probable because Solydx isn't install correctly.

3. I have a windows 7 laptop and a raspberry pi with raspbian to learn linux. I don't have any thing important in the SSD it's new and I got it to install linux, it has nothing except the Solydx install that I cant boot in to, so there is no need to repair the booting, I can just delete every thing and install over with a good Solydx install.

4.

Code: Select all

solydxk@solydxk:~$ sudo os-prober

/dev/sda3:SolydXK (1):SolydXK:linux

Code: Select all

solydxk@solydxk:~$ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   234441647   117220823+  ee  GPT

Disk /dev/sdb: 16.2 GB, 16240345088 bytes
2 heads, 1 sectors/track, 15859712 cylinders, total 31719424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04030201

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *         232    31719423    15859596    c  W95 FAT32 (LBA)

Code: Select all

solydxk@solydxk:~$ sudo parted -l
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  211MB   210MB   fat32                 boot
 2      211MB   2358MB  2147MB  linux-swap(v1)
 3      2358MB  10.9GB  8590MB  ext4
 4      10.9GB  120GB   109GB   ext4


Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdb: 16.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End     Size    Type     File system  Flags
 1      119kB  16.2GB  16.2GB  primary  fat32        boot, lba

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Trouble installing SolydX-64 in UEFI-mode

Postby wayne » 16 Jul 2014 12:50

Now I know your situation.

I wish to say this first:
the key to install in UEFI mode is to boot in UEFI mode.
and the key to boot in UEFI mode is to prepare UEFI-bootable-usb-flash.

I have tried many times, using unetbootin in linux and windows ( version 608) with solydx64-201405.iso ,
on UEFI computer, it does not let me boot in UEFI mode.

After some trials and errors, I manage to prepare uefi-usb-flash, boot in uefi, install in uefi, and able to boot in UEFI computer, but not with unetbootin.

Here are my recorded steps, you probably can follow ..
Quite a lengthy one :mrgreen:

1. get your UEFI firmware setup to be in UEFI mode.


2. Prepare uefi-bootable-usb-flash

As you have Win7 laptop, first thing is go to download RUFUS ..http://rufus.akeo.ie/
Then run rufus, input solydx-64-201405.iso
The important point to take note is, you must select the 'GPT partition scheme for UEFI computer, FAT32, etc
I captured an image to show you how it look like...
http://i60.tinypic.com/2u6d4p5.jpg
Please follow each line , before clicking Start button.



3. Boot in UEFI mode

Reboot computer, choose UEFI:USB , which is UEFI mode.
Wait for the desktop to fully operational.

4. Check you are in EFI mode

This is an important check, and it serves as a feedback before installation.
Open a terminal, copy this code, paste into terminal, execute and check what is result

Code: Select all

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
you should see EFI boot on HDD

if you see Legacy boot on HDD, you should not proceed.
and by the way you can also boot your earlier Unetbootin's prepared usb, boot it , select UEFI and use this code to check if it is in legacy or in EFI.



5. Install in UEFI mode

Proceed to install.
At installer's partitioning screen, ensure the all your mount point /, /home, swap as per normal tutorial.

in addition, this is important, make sure the ESP, or your /dev/sda1 is mounted as /boot/efi


6. Testing

Shutdown, unplug usb flash, reboot, hopefully it boots :mrgreen:
if not , like my case, it did not boot :evil: so I repair with chroot method on next step 7.

7. Chroot and repair grub if it does not boot

Plug in usb flash, boot with UEFI mode, as you know your root is at /dev/sda3

ensure you are on wired LAN, so that it had eth0 as the internet connection.

a. get to root,

Code: Select all

sudo su 
you should be root with prompt #

b. mount your root partition

Code: Select all

mount /dev/sda3 /mnt
c. create chroot environment

Code: Select all

mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
d. chroot

Code: Select all

chroot /mnt /bin/bash
now you are inside the unbootable solydx root partition, command work as if you are running it

e. update first

Code: Select all

apt-get update
it should update, if a lots of errors saying cannot find the repos etc,
like me, I had that for whatever reason i think i missed something, so i do a

Code: Select all

 ifup eth0
and it can now access internet
then repeat update with

Code: Select all

apt-get update
f. mount the ESP or boot partition

Code: Select all

mount /dev/sda1 /boot/efi
g. install grub-efi and make an boot entry

Code: Select all

apt-get install --reinstall grub-efi
grub-install /dev/sda
h. reboot and hopefully it boots

good luck

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Trouble installing SolydX-64 in UEFI-mode

Postby ScottQuier » 16 Jul 2014 13:57

@wayne

That is a stunning step-by-step! :D :) :mrgreen:

Can I suggest/request you capture that and make it a tutorial? I think it's the most clear and concise tut for EFI boot I have ever seen!
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 17 Jul 2014 04:27

Thanks for the reply wayne :D

I will try it out but first I have 3 questions:

1. How big should the EFI partition be, some say 200 MB others say it needs to be 550 MB, does it mater? What size are your EFI partitions?

2. Grub by default installs on /dev/sda but tutorials say it needs to be in the EFI partition (/dev/sda1) what do you use?

3. Should I install Plymouth? I heard that it can be buggy and create boot problems.

I tested my usb pen with the Live Sloydx install with UnetBootin, booted in UEFI mode and then run the command:

Code: Select all

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
It return 'EFI boot on HDD' so it really is in EFI mode, when you used rufus you had the same problem as me, you could boot in UEFI mode in to the pen but couldn't boot in to your HDD, maybe it's Gparted that has a bug and doesn't install the EFI partition correctly.

Were you ever able to install SolydXK in UEFI mode without step 7 repairing grub?
ScottQuier wrote:Can I suggest/request you capture that and make it a tutorial?
Yes please! It would be very helpful for noobs like me, and looking at the forums in many sites there are many people with the same problem.

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Trouble installing SolydX-64 in UEFI-mode

Postby wayne » 17 Jul 2014 06:14

xcom wrote:
1. How big should the EFI partition be, some say 200 MB others say it needs to be 550 MB, does it mater? What size are your EFI partitions?
100M is good enough.
My asus, multiboot 15 distros, mostly UEFI, some bios-mode, the fat32 partition is less than 40% filled.

by the way, if I
let win7_64 decides to take over whole disk, it creates a 100M fat32 partition
let debian7.x_64 takes over whole disk, it creates a 500M fat32 partition.

on my USB-drive-UEFI-multiboot, I gave it 150M, now it used 2.8M only, probably because all 5 distros are Linux.
MS took a lot of space, full of data in MS boot files ( including international languages choice...so you can see how much it took...)


if you wish to have more feature or function in the same boot partition, then of course you can add upto 500M.

and one suggestion i have is, have a habit of backup this important ESP.
when you play with another linux distros , windows7/8 , windows update, linux update etc, if something did some bad thing to the boot files, making it unbootable, at least you can repair it simply by coping from backup to the ESP.

2. Grub by default installs on /dev/sda but tutorials say it needs to be in the EFI partition (/dev/sda1) what do you use?
I had used both many times just to have a feel on what it should be because I am learning.
but it is dependent on distros.. so it is hard to say.
a few of them works with /dev/sda , even without specifying ESP!!

thus a better way is at least check to be sure it get mounted onto /boot/efi.
a complete way is to mount and check, both actions force people to be careful.


some people have multiple fat32 partitions, some people like to use FAT32 as data partition, because they do not like MS's NTFS, so they have to decide which one is the main boot partition for installer to place boot files.

I have read some people did UEFI installation onto a msdos-partition hard disk, which already have Windows in NTFS partition plus a recovery / utilities FAT partition, and when they do boot-repair, somehow that FAT partition ended up with boot files.. it is confusing but that is reality.. too many combinations exist.
3. Should I install Plymouth? I heard that it can be buggy and create boot problems.
It is up to you.
I Avoid. I think that 'pretty face for one second' gave more headaches, but that is personal perferences.
I am happy to see text scrolling on screen.. old fashioned.
I tested my usb pen with the Live Sloydx install with UnetBootin, booted in UEFI mode and then run the command:

Code: Select all

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
It return 'EFI boot on HDD' so it really is in EFI mode
,
thanks for this info
when you used rufus you had the same problem as me, you could boot in UEFI mode in to the pen but couldn't boot in to your HDD, maybe it's Gparted that has a bug and doesn't install the EFI partition correctly.
I am inclined to think that is had nothing to do with gparted.
gparted is afterall a GUI front end utility to manipulate partition of disk.
and when distro installer try to install onto hard disk, gparted should have no play..just my logic, which can be wrong.
Were you ever able to install SolydXK in UEFI mode without step 7 repairing grub?
solydx_64_201405 was first one that was said to be UEFI capable.
I tested many times, using linux dd, Win'sDD, so far unable to boot with UEFI mode.
With unetbootin, i can select UEFI , but it boots into grub rescue> for all tests..
That is why I do not even know and your info helps me somehow.
In your case you can at least see UEFI in Live mode, so your issue is one less than mine.
perhaps you can really try jump direct to chrooting from a UEFI-booted-Live mode, and see if it allows you to make a reinstall of grub-efi and grub-install /dev/sda.

i think something is not right in the uefi-boot/grub-efi portition of the iso.
because it can boot in bios-mode, install in bios-mode and run OK.
in addition, chroot repair works after update+ grub-efi + grub-install /dev/sda.
ScottQuier wrote:Can I suggest/request you capture that and make it a tutorial?
Yes please! It would be very helpful for noobs like me, and looking at the forums in many sites there are many people with the same problem.
need more people to test, because I have only so far tested on two , Asus laptop and HP8200.

but i hope the iso can be reviewed so that it can get into UEFi with Linux dd/windows'dd.

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 18 Jul 2014 05:14

I try it but run in to some problems...

This time I try making the EFI partition 550 MB and something interesting happen, Gparted automatically mounted /boot/efi on the Fat32 partition, normally I needed to do it manually.
wayne wrote:let debian7.x_64 takes over whole disk, it creates a 500M fat32 partition.
SolydXK is based on debian so maybe it's better to make it 550 MB.

I also this time install grub on the EFI partition (/dev/sda1), and didn't install Plymouth but still couldn't boot :(

So then I try step 7 (repair grub) but on the last 2 commands I had a problem:

Code: Select all

solydxk / # apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 grub-efi : Depends: grub-efi-amd64 (= 2.00-22)
 grub-efi-amd64 : Depends: grub2-common (= 1.99-27+deb7u2)
 grub-efi-amd64-bin : Depends: grub-common (= 1.99-27+deb7u2)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and then if I try the next command I get this:

Code: Select all

solydxk / # grub-install /dev/sda
/usr/sbin/grub-install: 352: .: Can't open /usr/lib/grub/x86_64-efi/modinfo.sh
probably because the other didn't work. What should I do?
wayne wrote:it should update, if a lots of errors saying cannot find the repos etc,
like me, I had that for whatever reason i think i missed something, so i do a
This also happen to me but after running the command:

Code: Select all

ifup eth0
it worked.

Looking for more information I found this on the debian wiki site maybe it can help.
wayne wrote:With unetbootin, i can select UEFI , but it boots into grub rescue> for all tests..
Bios can be very buggy with UEFI that's why I updated my Bios to the latest version that is very recent, also it's not enough to turn off secure boot, you need to turn off fast boot and disable the Windows Fast Startup feature or you will have problems booting. You can find more information here.

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Trouble installing SolydX-64 in UEFI-mode

Postby wayne » 18 Jul 2014 05:24

Code: Select all
solydxk / # apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
grub-efi : Depends: grub-efi-amd64 (= 2.00-22)
grub-efi-amd64 : Depends: grub2-common (= 1.99-27+deb7u2)
grub-efi-amd64-bin : Depends: grub-common (= 1.99-27+deb7u2)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).



and then if I try the next command I get this:

Code: Select all
solydxk / # grub-install /dev/sda
/usr/sbin/grub-install: 352: .: Can't open /usr/lib/grub/x86_64-efi/modinfo.sh


probably because the other didn't work. What should I do
?
Well, since you can chroot into solydx installation in live mode and get internet access via ifup eth0,
now with that grub-efi issue, it all means something was wrong..
as such, just purge all of them, and reinstall

within chroot,

Code: Select all

apt-get remove --purge grub*
hopefully it cooperate

then, follow by

Code: Select all

mount /dev/sda1 /boot/efi
apt-get update
apt-get install grub-efi
grub-install /dev/sda

hopefully it can boot.
if not, upon reboot, hit the boot menu key to get into UEFI setup menu, look for boot option, there should be a 'solydxk', select it, enter and see if it boots.


EDIT:
If you have time, energy, don't mind so called 'beta testing'...
Just a thought, there is a test iso (201407 version), perhaps it might have some new stuff for booting UEFI..
If you are interested, go to this thread, get into the link to download a 64 bit version and test..
http://forums.solydxk.nl/viewtopic.php?f=33&t=4332

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 18 Jul 2014 22:08

Progress!

When I run the command:

Code: Select all

apt-get remove --purge grub*
it asked me if I wanted to completely remove Grub 2, and I choose yes, then I install grub using your commands, no errors this time.

After that I restarted and went to the Bios and for the first time ever I had the option to boot in UEFI mode on the SSD with the label 'Solydxk' :D
I booted it but it didn't went to the OS, I got a black screen with some text on it, I couldn't copy/paste the text to a file so I'm paraphrasing what was on it:

Code: Select all

GNU GRUB Version 2.00.22
Minimal BASH-like line editing is supported for the first word, TAB lists possible commands completion. Anywhere else TAB lists possible line or file completion.

grub>_
If I press TAB I get a lot of text probably commands, so looks like I'm on the boot loader but I don't know how to boot in too the OS maybe I need to configure something on the boot loader...

I was thinking maybe delete every thing and install Solydx another time like before, but this time I wouldn't install grub through the Solydxk installer, instead install it later like in step 7 with Chroot. Would that fix the problem?

Well at least now I have the option to boot in UEFI and I can boot in to something :)

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Trouble installing SolydX-64 in UEFI-mode

Postby wayne » 19 Jul 2014 04:53

Hi xcom,

Glad to see your progress.

You have overcome the big hurdle on getting UEFI boot entry into your nvram ( motherboard).

Now that you boot into a black screen with grub>

it means grub-efi already able to boot, able to find the boot partition, but got stuck on configuration file.
perhaps it was damaged, corrupt or not properly installed.

Here, I think you are already at 90% point, just try a few more codes ..

on grub> prompt

refer to this grub2 document from ubuntu https://help.ubuntu.com/community/Grub2/Troubleshooting
scroll down to the portion grub> extended fix

I purposedly quote them into tiny font , place it at the end of this post .
you should follow the syntax used in the tutorial, because I will just type based on memory and can be wrong :mrgreen:

1. first, type after grub> prompt and hit enter...
ls
it should list all your partition
you should be interested on only /dev/sda1, and it might be also (hd1,gpt1) or something grub detected.

2. second code to type is (assume your ESP is /dev/sda1 or (hd1,gpt1), please adjust according to what was shown on ls command)
set root=(hd1,gpt1)

3. third code is
linux /linuz root=/dev/sda1 ro

4. fourth
initrd /initrd.img

5. finally
boot

6. check that it boots into login screen , then type name/password to get into desktop

if you can get it here, you would need a follow up to make changes to grub config with

sudo update-grub


then, reboot to see if it can work.

7. if still cannot, then your next step is really getting another external boot loader to pull it up.
You should try rEFInd first.
the link you already posted earlier, go to rEFInd website, get the iso for USB, dd to make it a bootable usb flash.
with it, reboot computer, hit boot menu key to get into UEFI boot option menu, choose the UEFI:usb-flash, it should run rEFInd and present you with a graphic screen, scroll with your right/left arrow keys and read the text, look for solydxk, select it by clicking on the icon...

hopeful rEFInd can boot and let you run solydxk desktop..
then follow up with update-grub to make a new grub config, and reboot to see if all is well



Extended Fix:

The following commands should set the root and prefix paths and load the kernel and initrd image. With this information, GRUB 2 does not need a configuration file and should be able to boot the system if the only problem was a corrupted or missing menu.

Press ENTER after completing each line. Some entries will not provide feedback. This is normal.

If a "file not found" or similar error message is displayed while running these commands, ensure you are using the correct X,Y values and the correct paths are set.

1. set root=(hdX,Y)


Confirm the correct X,Y values and press ENTER.

Example: If the Ubuntu system is on sda5, enter: set root=(hd0,5)

2. linux /vmlinuz root=/dev/sdXY ro


Example: linux /vmlinuz root=/dev/sda5 ro

If the vmlinuz symlink does not exist, use the full path to the kernel in /boot

Example: linux /boot/vmlinuz-3.2.0-14-generic root=/dev/sda1 ro

If successful, after ENTER there will be a slight delay and no messages.

Wubi users only - substitute these commands in Steps 1 and 2:

1.set root=(loop0)

2. linux /vmlinuz root=/dev/sdXY loop=/ubuntu/disks/root.disk ro

3. initrd /initrd.img


Selects the latest initrd image.

If the vmlinuz symlink does not exist, use the full path to the initrd image in /boot

If successful, after ENTER there will be a slight delay and no messages.

4. boot


Boot to the latest kernel on the selected partition.

If the system fails to boot:

Attempt to find the GRUB 2 configuration file. The normal name is grub.cfg file. If not found, look for a misnamed .cfg file or in alternate locations. The menu configuration file may contain settings required for a successful boot (such as non-standard kernel options) even if the paths/filenames are correct.

Use the set command to confirm the correct root and prefix settngs. Also inspect the folders' actual contents with the ls command. The grub prompt normally means the GRUB 2 folder is intact but doesn't guarantee the integrity of other system files.

root= should point to the drive and partition on which Ubuntu is installed. If you use the ls / command you should see the main Ubuntu system folders.

If the system boots, please refer to the [[#Post-Boot Follow Up|Post Boot Follow Up] section

If the system fails to boot, proceed to the [#grub rescue|grub rescue]] section for more detailed troubleshooting options.

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 20 Jul 2014 01:40

Still nothing :(

So I look to the tutorial you linked and try it.

1. when i try the ls command I saw that the first partition was (hd0,gpt1) the EFI partition.

2. set root=(hd0,gpt1)

3. linux /vmlinuz root=/dev/sda1 ro
error: file -/vmlinuz' not found.

In the tutorial it said if this happen to put the full path to the kernel in /boot, so I look for it like it said in the page:
ls (hd0,gpt1)/boot/
error: file -/boot/' not found.

so then I thought maybe it is in the root partition:
ls (hd0,gpt3)/boot/
efi/ extlinux/ grub/ system.map-3.13-1-amd64 config-3.13-1-amd64 initrd.img-3.13-1-amd64 memtest86+.bin memtest86+_multiboot.bin vmlinuz-3.13-1-amd64
shouldn't this stuff be in the EFI partition (hd0,gpt1)? Maybe this is the bug, grub put the stuff on the wrong partition even thou it was mount /dev/sda1 /boot/efi wen it was install.

So then I did:
linux /boot/vmlinuz-3.13-1-amd64 root=/dev/sda1 ro
error: file /boot/vmlinuz-3.13-1-amd64' not found.

Now I don't know what to do...

Anyway we shouldn't have to do this, the SolydXK installer should be fix in the next UP, so that it installs grub correctly. Was this bug reported, do the SolydXK devs know the installer is broken?

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 22 Jul 2014 07:26

I tried using rEFInd, format a usb pen in Fat32 and to avoid problems, I use my raspberry pi to burn the img file to the pen with dd. First I used the command sudo fdisk -l to see what partition was the pen and it was /dev/sda so I cd in to the folder where I had the img and use the command:

Code: Select all

sudo dd if=refind-flashdrive-0.8.3.img of=/dev/sda
It finished without errors, but I couldn't boot it on my PC, maybe the command is wrong, this is my first time using dd, is there any other thing I need to add to the command?

Then I tried something different, delete every thing and install Solydx another time like before, but this time I wouldn't install grub through the Solydxk installer, instead install it later like in step 7 with Chroot. When I did that it said grub was already install, so in the Solydxk installer it doesn't mater what partition you tell grub to go, it will always go to the root partition in my case /dev/sda3, even if you tell the installer to NOT install grub, it still will install it on the root partition, so it doesn't mater what you choose.

So I give up, UEFI in SolydXK is just too broken, I will try the next UP 201407 when the stable ISO is available, and see if UEFI works.

I tried installing Solydx in legacy-bios mode and it worked, I was able to boot it but after updating it to the 201407 UP it broke, it couldn't do the updates and I followed the July Update Pack Survival's kit thread but it didn't help...

User avatar
ulusu
Posts: 82
Joined: 12 Nov 2013 23:06
Location: Dreiländereck (Germany, Luxemburg and France)

Re: Trouble installing SolydX-64 in UEFI-mode

Postby ulusu » 22 Jul 2014 10:53

xcom wrote:Still nothing :(

So I look to the tutorial you linked and try it.

1. when i try the ls command I saw that the first partition was (hd0,gpt1) the EFI partition.

2. set root=(hd0,gpt1)
Root cannot be the EFI partition. You have to look were is your Solyd partition. This you should check with ls at the GRUB prompt.

Probably in your case it will be:

Code: Select all

set root=(hd0,gpt3)
Then you try to boot at the GRUB prompt with:

Code: Select all

set root=(hd0,gpt3)
linux /boot/vmlinuz
initrd /boot/initrd.img 
You should use SolydK64_201407.iso to copy and install according to wayne's procedures. I tried first to install with the 201405 iso and I had always problems to boot. After using 201407 iso and wayne's procedures I have it up and running on my Macbook Pro.

If you want to newly install your linux you shall erase the /solydk or /solydxk folder from EFI to let the new installation configure a new entry. Give it a try with the new iso.

Regards,
ulusu

Mac OS X Mavericks, Kubuntu 14.04 LTS, SolydK64_201407, Windows 7 Ultimate, Windows 8.1 pro

wayne
Posts: 178
Joined: 25 Feb 2013 14:58

Re: Trouble installing SolydX-64 in UEFI-mode

Postby wayne » 22 Jul 2014 14:00

@ulusu
Thanks ulusu for three things

1. point out the error about root partition , it should not be on EFI boot partition ( for Solydxk)

2. confirmation of Solydx201405 iso has broken grub, I have never been able to boot after installation, tried more than 10 times!! over different download, and two different UEFI computers.

3. good information that the procedure works on Solydx201407 iso..

Because of reading your post, I went ahead to test the procedure on this thread on Solydx201407, and true enough, it boots up both my UEFI computers!!!


I wish to make a request:
Can you test the same iso, but use Linux OS's dd to prepare usb flash, check if it can boot in UEFI mode.


@xcom,
please try Solydx201407.iso
I had two uefi computers, both works.. no need to repair.
please upon booting with UEB flash, when entering grub screen, choose to check integrity first , to be sure it is not corrupted.

BY the way, on the rEFInd's flashdrive iso,

Code: Select all

 sudo dd if=refind-flashdrive-0.8.3.img of=/dev/sdX
is OK to make bootable usb flash. It should boot and present a graphical screen.

like one of these linked images

http://4.bp.blogspot.com/-DoXvJPSCQsM/U ... 130818.jpg

http://a.fsdn.com/con/app/proj/refind/s ... refind.png

http://www.rodsbooks.com/refind/refind.png

User avatar
ulusu
Posts: 82
Joined: 12 Nov 2013 23:06
Location: Dreiländereck (Germany, Luxemburg and France)

Re: Trouble installing SolydX-64 in UEFI-mode

Postby ulusu » 22 Jul 2014 20:24

@wayne

Thanks :)

I'll give the last uploaded iso a try with a fat32 formated usb stick and old dd ;)

P.S.: GRUB has still some bugs but now it can boot in EFI/UEFI mode.

regards,
ulusu

Mac OS X Mavericks, Kubuntu 14.04 LTS, SolydK64_201407, Windows 7 Ultimate, Windows 8.1 pro

xcom
Posts: 36
Joined: 13 Jul 2014 15:56

Re: Trouble installing SolydX-64 in UEFI-mode

Postby xcom » 23 Jul 2014 01:59

wayne wrote:please try Solydx201407.iso
I was thinking about waiting for the stable 201407 UP iso, when is it going to come out?
wayne wrote:please upon booting with UEB flash, when entering grub screen, choose to check integrity first , to be sure it is not corrupted.
How do you do that? I don't remember seeing a option for that.
wayne wrote:is OK to make bootable usb flash. It should boot and present a graphical screen.
Yes but like I said, it didn't worked, maybe I didn't explain well. I couldn't boot in to rEFInd so I never saw the graphical screen, let alone boot in to Solydx, that's why I thought the command was wrong.
ulusu wrote:Root cannot be the EFI partition. You have to look were is your Solyd partition. This you should check with ls at the GRUB prompt.
Thanks for the correction, still very new to linux, this is my first linux PC, I only had some training on the raspberry pi.

User avatar
ulusu
Posts: 82
Joined: 12 Nov 2013 23:06
Location: Dreiländereck (Germany, Luxemburg and France)

Re: Trouble installing SolydX-64 in UEFI-mode

Postby ulusu » 23 Jul 2014 09:53

@xcom
Root could be the EFI partition if a linux distro would, by any chance, install not only all GRUB files but also the kernel images on to this partition.

The Debian based distros don't use this method yet. They only install the grubx64.efi binary and perhaps some configuration files like Ubuntu and leave the kernel images in /boot.

Although the EFI partition has to have the boot bit set it's not the root.

Root is were the linux images are.

1) Try to create a bootable UEFI usb stick with wayne's procedures. Boot your laptop and open Gparted. Erase all partitions if you don't have another OS installed.

2) In Gparted start with "choose >> Device -> Create Partition Table... -> GPT."

3) Create a 100MB partition as /dev/sda1 and format it for fat32. Set the boot flag on /dev/sda1.

4) Continue to create your partition scheme.

5) Continue with installation of SolydK64 but make sure you are in UEFI mode using wayne's procedure:

Code: Select all

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
6) Check if /dev/sda1 is mounted in /boot/efi.

7) Install Grub on /dev/sda. Then don't reboot. Open Dolphin file manager and click on the partitions to mount EFI partition. There you should see a folder called "solydk" and inside there must be, at least, the grubx64.efi binary.

I'm confident you will succeed ;)

P.S.: I think that this should work with SolydX64 as well, although I didn't test it.

@wayne
Format an usb stick as fat32 with gpt file table under Gparted. Then copied the last SolydK_201407.iso to the stick with:

Code: Select all

dd if=/home/Downloads/SolydK_201407.iso of=/dev/sdc bs=4M
But after copying the usb stick could not be mounted as there was an error. I'm now at work and don't have linux arround :( but as soon as I'm home I'll try again.

I've also installed Kubuntu 14.04 LTS on my Macbook Pro. So now I've 3 OS's and Win 8 at a VM 8-)
In fact it was no hassle at all to install Kubuntu. Download iso, issue the dd command and of you go with a gpt and fat32 enabled usb stick with out doing anything else.

I think that Ubuntu creates their iso's already gpt and fat32 enabled. if you copy a Solyd iso with dd the usb stick cannot be mounted normally. So there must be a difference in creating the iso's.

Regards,
ulusu

Mac OS X Mavericks, Kubuntu 14.04 LTS, SolydK64_201407, Windows 7 Ultimate, Windows 8.1 pro


Return to “Installation”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest