Configuring grub for Ubuntu on Lenovo Ideapad Flex 10Windows 7 doesn't boot after Ubuntu installBoot problem after installing Ubuntu 12.04.3 alongside Windows 8 - only get to grub prompt`install-grub` claims that I have multiple partiton labels and that embedding is impossibleUbuntu 14.04 hangs, can fix/login but then after reboot it hangs again. Have bootscript/details. Wubi issue?Ubuntu Install on Lenovo ideapad Flex 4 - Help!

How could pirates reasonably transport dinosaurs in captivity, some of them enormous, across oceans?

Resources to study quantum algorithms and quantum complexity

Simple Markdown viewer for Windows

How could Olaf survive without his flurry in Frozen II?

How to set up a "Forced choice" for players in a game?

How to move directory into a directory with the same name?

Elementary calculus estimate or not?

Computer power supplies usually have higher efficiency on 230V than on 115V. Why?

Generate array of integers that sum to zero

Will tires with spikes on a loaded heavy touring bicycle puncture the tubes?

Possible bug in NMaximize function?

Why do cargo airlines frequently choose passenger aircraft rather than aircraft designed specifically for cargo?

How test cases designing is different for GUI & API?

Why can I not group sed commands after an address in a block?

Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

Why are these wires sticking out of battery terminal?

How many times, are they multiples?

"inlooped flags" in Whitman's poem

What is the name of this part of drawers?

Can socialism and capitalism coexist in the same country?

How can an employer better accommodate workers on the autism-spectrum to reduce absence from work?

Does an action-reaction pair always contain the same kind of force?

Where is the Windows license key on Windows 10?

Did Roger Rabbit exist prior to the film "Who Framed Roger Rabbit?"



Configuring grub for Ubuntu on Lenovo Ideapad Flex 10


Windows 7 doesn't boot after Ubuntu installBoot problem after installing Ubuntu 12.04.3 alongside Windows 8 - only get to grub prompt`install-grub` claims that I have multiple partiton labels and that embedding is impossibleUbuntu 14.04 hangs, can fix/login but then after reboot it hangs again. Have bootscript/details. Wubi issue?Ubuntu Install on Lenovo ideapad Flex 4 - Help!






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2


















Situation



I have installed Ubuntu Linux 14.04 on a Lenovo Ideapad Flex 10. The only problem I'm facing now is to configure the bootloader. I'm quite familiar with Ubuntu, but not with grub or bootloaders in general. This system has UEFI, and Windows 8.1 is still installed on the harddisk. Ubuntu is installed on partition sda9, but it does not boot. When I remove the usb stick with the live install, Windows boots.



I followed these two guides:




  • How do I install Linux Mint 17 from USB on Flex 10?: Cigydd answers his own question with 11 steps. I succeeded to step 7.


  • Ubuntu (or other Linux) on the Asus Transformer Book T100: I started at step 4, and got stuck here.

See the Ubuntu Pastebin for Root-repair



Bounty



I've put a 50 point bounty on this question, but haven't awarded it because the answers didn't help me any further. I will award 50 points again if an answer here helps me get this working.



EFI firmware



  • The Flex 10 has a 32-bit efi firmware, which complicates things a bit.

  • Following above guides, I've downloaded bootia32.efi and put it on the ubuntu stick in /EFI/BOOT.

  • In the same folder I see two other files: BOOTx64.EFI and grubx64.efi.

Problem



I'm stuck in the second guide, step 4, with the following line:



linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx root=/dev/mmcblk0p5 video=VGA-1:1368x768e reboot=pci,force


The partition is hd2, gpt9 if I'm correct. Strangely enough, it seems I need to leave a space after the comma:



linux (hd2, gpt9)/boot/...


Using the live system, I found the vmlinuz version:



/boot/vmlinuz-3.13.0-32-generic
/boot/vmlinuz-3.13.0-32-generic.efi.signed


I don't know what to do with the root=/dev/... setting. Below you see the output for ls -al /dev for the installed partition.




root@ubuntu:/media/disk9# ls -al dev
total 16
drwxr-xr-x 4 root root 4096 Apr 17 01:26 .
drwxr-xr-x 23 root root 4096 Jul 26 11:24 ..
crw-rw---- 1 root video 10, 175 Apr 17 01:21 agpgart
crw-rw---- 1 root audio 14, 4 Apr 17 01:21 audio
crw-rw---- 1 root audio 14, 20 Apr 17 01:21 audio1
crw-rw---- 1 root audio 14, 36 Apr 17 01:21 audio2
crw-rw---- 1 root audio 14, 52 Apr 17 01:21 audio3
crw-rw---- 1 root audio 14, 7 Apr 17 01:21 audioctl
crw------- 1 root tty 5, 1 Apr 17 01:21 console
lrwxrwxrwx 1 root root 11 Jul 26 11:08 core -> /proc/kcore
crw-rw---- 1 root audio 14, 3 Apr 17 01:21 dsp
crw-rw---- 1 root audio 14, 19 Apr 17 01:21 dsp1
crw-rw---- 1 root audio 14, 35 Apr 17 01:21 dsp2
crw-rw---- 1 root audio 14, 51 Apr 17 01:21 dsp3
lrwxrwxrwx 1 root root 13 Jul 26 11:08 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Apr 17 01:21 full
crw-rw---- 1 root fuse 10, 229 Apr 17 01:22 fuse
crw-r----- 1 root kmem 1, 2 Apr 17 01:21 kmem
brw-rw---- 1 root disk 7, 0 Apr 17 01:21 loop0
brw-rw---- 1 root disk 7, 1 Apr 17 01:21 loop1
brw-rw---- 1 root disk 7, 2 Apr 17 01:21 loop2
brw-rw---- 1 root disk 7, 3 Apr 17 01:21 loop3
brw-rw---- 1 root disk 7, 4 Apr 17 01:21 loop4
brw-rw---- 1 root disk 7, 5 Apr 17 01:21 loop5
brw-rw---- 1 root disk 7, 6 Apr 17 01:21 loop6
brw-rw---- 1 root disk 7, 7 Apr 17 01:21 loop7
drwxr-xr-x 2 root root 4096 Apr 17 01:26 mapper
crw-r----- 1 root kmem 1, 1 Apr 17 01:21 mem
crw-rw---- 1 root audio 35, 0 Apr 17 01:21 midi0
crw-rw---- 1 root audio 14, 2 Apr 17 01:21 midi00
crw-rw---- 1 root audio 14, 18 Apr 17 01:21 midi01
crw-rw---- 1 root audio 14, 34 Apr 17 01:21 midi02
crw-rw---- 1 root audio 14, 50 Apr 17 01:21 midi03
crw-rw---- 1 root audio 35, 1 Apr 17 01:21 midi1
crw-rw---- 1 root audio 35, 2 Apr 17 01:21 midi2
crw-rw---- 1 root audio 35, 3 Apr 17 01:21 midi3
crw-rw---- 1 root audio 14, 0 Apr 17 01:21 mixer
crw-rw---- 1 root audio 14, 16 Apr 17 01:21 mixer1
crw-rw---- 1 root audio 14, 32 Apr 17 01:21 mixer2
crw-rw---- 1 root audio 14, 48 Apr 17 01:21 mixer3
crw-rw---- 1 root audio 31, 0 Apr 17 01:21 mpu401data
crw-rw---- 1 root audio 31, 1 Apr 17 01:21 mpu401stat
crw-rw-rw- 1 root root 1, 3 Apr 17 01:21 null
crw-r----- 1 root kmem 1, 4 Apr 17 01:21 port
crw-rw-rw- 1 root tty 5, 2 Feb 14 02:04 ptmx
drwxr-xr-x 2 root root 4096 Apr 17 01:21 pts
lrwxrwxrwx 1 root root 4 Jul 26 11:08 ram -> ram1
brw-rw---- 1 root disk 1, 0 Apr 17 01:21 ram0
brw-rw---- 1 root disk 1, 1 Apr 17 01:21 ram1
brw-rw---- 1 root disk 1, 10 Apr 17 01:21 ram10
brw-rw---- 1 root disk 1, 11 Apr 17 01:21 ram11
brw-rw---- 1 root disk 1, 12 Apr 17 01:21 ram12
brw-rw---- 1 root disk 1, 13 Apr 17 01:21 ram13
brw-rw---- 1 root disk 1, 14 Apr 17 01:21 ram14
brw-rw---- 1 root disk 1, 15 Apr 17 01:21 ram15
brw-rw---- 1 root disk 1, 16 Apr 17 01:21 ram16
brw-rw---- 1 root disk 1, 2 Apr 17 01:21 ram2
brw-rw---- 1 root disk 1, 3 Apr 17 01:21 ram3
brw-rw---- 1 root disk 1, 4 Apr 17 01:21 ram4
brw-rw---- 1 root disk 1, 5 Apr 17 01:21 ram5
brw-rw---- 1 root disk 1, 6 Apr 17 01:21 ram6
brw-rw---- 1 root disk 1, 7 Apr 17 01:21 ram7
brw-rw---- 1 root disk 1, 8 Apr 17 01:21 ram8
brw-rw---- 1 root disk 1, 9 Apr 17 01:21 ram9
crw-rw-rw- 1 root root 1, 8 Apr 17 01:21 random
crw-rw---- 1 root audio 35, 64 Apr 17 01:21 rmidi0
crw-rw---- 1 root audio 35, 65 Apr 17 01:21 rmidi1
crw-rw---- 1 root audio 35, 66 Apr 17 01:21 rmidi2
crw-rw---- 1 root audio 35, 67 Apr 17 01:21 rmidi3
crw-rw---- 1 root audio 14, 1 Apr 17 01:21 sequencer
lrwxrwxrwx 1 root root 8 Jul 26 11:08 shm -> /run/shm
crw-rw---- 1 root audio 35, 128 Apr 17 01:21 smpte0
crw-rw---- 1 root audio 35, 129 Apr 17 01:21 smpte1
crw-rw---- 1 root audio 35, 130 Apr 17 01:21 smpte2
crw-rw---- 1 root audio 35, 131 Apr 17 01:21 smpte3
crw-rw---- 1 root audio 14, 6 Apr 17 01:21 sndstat
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdout -> fd/1
crw-rw-rw- 1 root tty 5, 0 Apr 17 01:21 tty
crw------- 1 root tty 4, 0 Apr 17 01:21 tty0
crw------- 1 root tty 4, 1 Apr 17 01:21 tty1
crw------- 1 root tty 4, 2 Apr 17 01:21 tty2
crw------- 1 root tty 4, 3 Apr 17 01:21 tty3
crw------- 1 root tty 4, 4 Apr 17 01:21 tty4
crw------- 1 root tty 4, 5 Apr 17 01:21 tty5
crw------- 1 root tty 4, 6 Apr 17 01:21 tty6
crw------- 1 root tty 4, 7 Apr 17 01:21 tty7
crw------- 1 root tty 4, 8 Apr 17 01:21 tty8
crw------- 1 root tty 4, 9 Apr 17 01:21 tty9
crw-rw-rw- 1 root root 1, 9 Apr 17 01:21 urandom
crw-rw-rw- 1 root root 1, 5 Apr 17 01:21 zero


This would result in the following command for grub:



linux (hd2, gpt9)/boot/vmlinuz-3.13.0-32-generic root=/dev/????? video=VGA-1:1366x768e reboot=pci,force


Output for cat /proc/partitions as requested by user309427




ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name

7 0 944156 loop0
8 0 312571224 sda
8 1 1024000 sda1
8 2 266240 sda2
8 3 131072 sda3
8 4 148405248 sda4
8 5 460800 sda5
8 6 26214400 sda6
8 7 13188096 sda7
8 8 3999744 sda8
8 9 24414208 sda9
8 10 94466048 sda10
8 16 1957888 sdb
8 17 1956864 sdb1


Output for mount as requested by user309427




ubuntu@ubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)


Output for blkid as requested by Bain



  • Ubuntu is installed on sda9, and sda10 is the home partition.


ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="WINRE_DRV" UUID="CE4A98414A98286B" TYPE="ntfs"
/dev/sda2: LABEL="SYSTEM_DRV" UUID="329B-10F9" TYPE="vfat"
/dev/sda4: UUID="C28CCB398CCB26AF" TYPE="ntfs"
/dev/sda5: UUID="70601C2E601BFA14" TYPE="ntfs"
/dev/sda6: LABEL="LENOVO" UUID="48B255E5B255D7D0" TYPE="ntfs"
/dev/sda7: LABEL="PBR_DRV" UUID="6A72A04272A014BB" TYPE="ntfs"
/dev/sda9: UUID="673b6434-a5f0-49f0-8a01-af6894958777" TYPE="ext4"
/dev/sda10: UUID="dd7b47a9-33bf-4b73-a880-6e7e488e9c79" TYPE="ext4"
/dev/sdc1: LABEL="UBUNTU 14_0" UUID="1C9C-CB71" TYPE="vfat"


Questions



  • What setting should I use for the root setting?

The screen resolution of my system is 1366x768, not 1368x768.



  • What is the setting for the video?

  • Besides all this, is this the way to get grub working properly?

  • Maybe I misunderstand, but I read I should copy bootia32.efi to the disk. To what folder? I don't see an EFI folder in the root of the installed system.









share|improve this question






















  • 1





    Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

    – chaskes
    Jul 28 '14 at 21:09











  • Yes that's true. Good that you mention it. I added it to the question.

    – SPRBRN
    Jul 28 '14 at 21:40







  • 1





    According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

    – chaskes
    Jul 28 '14 at 22:55






  • 1





    Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

    – bain
    Jul 29 '14 at 0:39











  • @bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

    – SPRBRN
    Aug 1 '14 at 16:11

















2


















Situation



I have installed Ubuntu Linux 14.04 on a Lenovo Ideapad Flex 10. The only problem I'm facing now is to configure the bootloader. I'm quite familiar with Ubuntu, but not with grub or bootloaders in general. This system has UEFI, and Windows 8.1 is still installed on the harddisk. Ubuntu is installed on partition sda9, but it does not boot. When I remove the usb stick with the live install, Windows boots.



I followed these two guides:




  • How do I install Linux Mint 17 from USB on Flex 10?: Cigydd answers his own question with 11 steps. I succeeded to step 7.


  • Ubuntu (or other Linux) on the Asus Transformer Book T100: I started at step 4, and got stuck here.

See the Ubuntu Pastebin for Root-repair



Bounty



I've put a 50 point bounty on this question, but haven't awarded it because the answers didn't help me any further. I will award 50 points again if an answer here helps me get this working.



EFI firmware



  • The Flex 10 has a 32-bit efi firmware, which complicates things a bit.

  • Following above guides, I've downloaded bootia32.efi and put it on the ubuntu stick in /EFI/BOOT.

  • In the same folder I see two other files: BOOTx64.EFI and grubx64.efi.

Problem



I'm stuck in the second guide, step 4, with the following line:



linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx root=/dev/mmcblk0p5 video=VGA-1:1368x768e reboot=pci,force


The partition is hd2, gpt9 if I'm correct. Strangely enough, it seems I need to leave a space after the comma:



linux (hd2, gpt9)/boot/...


Using the live system, I found the vmlinuz version:



/boot/vmlinuz-3.13.0-32-generic
/boot/vmlinuz-3.13.0-32-generic.efi.signed


I don't know what to do with the root=/dev/... setting. Below you see the output for ls -al /dev for the installed partition.




root@ubuntu:/media/disk9# ls -al dev
total 16
drwxr-xr-x 4 root root 4096 Apr 17 01:26 .
drwxr-xr-x 23 root root 4096 Jul 26 11:24 ..
crw-rw---- 1 root video 10, 175 Apr 17 01:21 agpgart
crw-rw---- 1 root audio 14, 4 Apr 17 01:21 audio
crw-rw---- 1 root audio 14, 20 Apr 17 01:21 audio1
crw-rw---- 1 root audio 14, 36 Apr 17 01:21 audio2
crw-rw---- 1 root audio 14, 52 Apr 17 01:21 audio3
crw-rw---- 1 root audio 14, 7 Apr 17 01:21 audioctl
crw------- 1 root tty 5, 1 Apr 17 01:21 console
lrwxrwxrwx 1 root root 11 Jul 26 11:08 core -> /proc/kcore
crw-rw---- 1 root audio 14, 3 Apr 17 01:21 dsp
crw-rw---- 1 root audio 14, 19 Apr 17 01:21 dsp1
crw-rw---- 1 root audio 14, 35 Apr 17 01:21 dsp2
crw-rw---- 1 root audio 14, 51 Apr 17 01:21 dsp3
lrwxrwxrwx 1 root root 13 Jul 26 11:08 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Apr 17 01:21 full
crw-rw---- 1 root fuse 10, 229 Apr 17 01:22 fuse
crw-r----- 1 root kmem 1, 2 Apr 17 01:21 kmem
brw-rw---- 1 root disk 7, 0 Apr 17 01:21 loop0
brw-rw---- 1 root disk 7, 1 Apr 17 01:21 loop1
brw-rw---- 1 root disk 7, 2 Apr 17 01:21 loop2
brw-rw---- 1 root disk 7, 3 Apr 17 01:21 loop3
brw-rw---- 1 root disk 7, 4 Apr 17 01:21 loop4
brw-rw---- 1 root disk 7, 5 Apr 17 01:21 loop5
brw-rw---- 1 root disk 7, 6 Apr 17 01:21 loop6
brw-rw---- 1 root disk 7, 7 Apr 17 01:21 loop7
drwxr-xr-x 2 root root 4096 Apr 17 01:26 mapper
crw-r----- 1 root kmem 1, 1 Apr 17 01:21 mem
crw-rw---- 1 root audio 35, 0 Apr 17 01:21 midi0
crw-rw---- 1 root audio 14, 2 Apr 17 01:21 midi00
crw-rw---- 1 root audio 14, 18 Apr 17 01:21 midi01
crw-rw---- 1 root audio 14, 34 Apr 17 01:21 midi02
crw-rw---- 1 root audio 14, 50 Apr 17 01:21 midi03
crw-rw---- 1 root audio 35, 1 Apr 17 01:21 midi1
crw-rw---- 1 root audio 35, 2 Apr 17 01:21 midi2
crw-rw---- 1 root audio 35, 3 Apr 17 01:21 midi3
crw-rw---- 1 root audio 14, 0 Apr 17 01:21 mixer
crw-rw---- 1 root audio 14, 16 Apr 17 01:21 mixer1
crw-rw---- 1 root audio 14, 32 Apr 17 01:21 mixer2
crw-rw---- 1 root audio 14, 48 Apr 17 01:21 mixer3
crw-rw---- 1 root audio 31, 0 Apr 17 01:21 mpu401data
crw-rw---- 1 root audio 31, 1 Apr 17 01:21 mpu401stat
crw-rw-rw- 1 root root 1, 3 Apr 17 01:21 null
crw-r----- 1 root kmem 1, 4 Apr 17 01:21 port
crw-rw-rw- 1 root tty 5, 2 Feb 14 02:04 ptmx
drwxr-xr-x 2 root root 4096 Apr 17 01:21 pts
lrwxrwxrwx 1 root root 4 Jul 26 11:08 ram -> ram1
brw-rw---- 1 root disk 1, 0 Apr 17 01:21 ram0
brw-rw---- 1 root disk 1, 1 Apr 17 01:21 ram1
brw-rw---- 1 root disk 1, 10 Apr 17 01:21 ram10
brw-rw---- 1 root disk 1, 11 Apr 17 01:21 ram11
brw-rw---- 1 root disk 1, 12 Apr 17 01:21 ram12
brw-rw---- 1 root disk 1, 13 Apr 17 01:21 ram13
brw-rw---- 1 root disk 1, 14 Apr 17 01:21 ram14
brw-rw---- 1 root disk 1, 15 Apr 17 01:21 ram15
brw-rw---- 1 root disk 1, 16 Apr 17 01:21 ram16
brw-rw---- 1 root disk 1, 2 Apr 17 01:21 ram2
brw-rw---- 1 root disk 1, 3 Apr 17 01:21 ram3
brw-rw---- 1 root disk 1, 4 Apr 17 01:21 ram4
brw-rw---- 1 root disk 1, 5 Apr 17 01:21 ram5
brw-rw---- 1 root disk 1, 6 Apr 17 01:21 ram6
brw-rw---- 1 root disk 1, 7 Apr 17 01:21 ram7
brw-rw---- 1 root disk 1, 8 Apr 17 01:21 ram8
brw-rw---- 1 root disk 1, 9 Apr 17 01:21 ram9
crw-rw-rw- 1 root root 1, 8 Apr 17 01:21 random
crw-rw---- 1 root audio 35, 64 Apr 17 01:21 rmidi0
crw-rw---- 1 root audio 35, 65 Apr 17 01:21 rmidi1
crw-rw---- 1 root audio 35, 66 Apr 17 01:21 rmidi2
crw-rw---- 1 root audio 35, 67 Apr 17 01:21 rmidi3
crw-rw---- 1 root audio 14, 1 Apr 17 01:21 sequencer
lrwxrwxrwx 1 root root 8 Jul 26 11:08 shm -> /run/shm
crw-rw---- 1 root audio 35, 128 Apr 17 01:21 smpte0
crw-rw---- 1 root audio 35, 129 Apr 17 01:21 smpte1
crw-rw---- 1 root audio 35, 130 Apr 17 01:21 smpte2
crw-rw---- 1 root audio 35, 131 Apr 17 01:21 smpte3
crw-rw---- 1 root audio 14, 6 Apr 17 01:21 sndstat
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdout -> fd/1
crw-rw-rw- 1 root tty 5, 0 Apr 17 01:21 tty
crw------- 1 root tty 4, 0 Apr 17 01:21 tty0
crw------- 1 root tty 4, 1 Apr 17 01:21 tty1
crw------- 1 root tty 4, 2 Apr 17 01:21 tty2
crw------- 1 root tty 4, 3 Apr 17 01:21 tty3
crw------- 1 root tty 4, 4 Apr 17 01:21 tty4
crw------- 1 root tty 4, 5 Apr 17 01:21 tty5
crw------- 1 root tty 4, 6 Apr 17 01:21 tty6
crw------- 1 root tty 4, 7 Apr 17 01:21 tty7
crw------- 1 root tty 4, 8 Apr 17 01:21 tty8
crw------- 1 root tty 4, 9 Apr 17 01:21 tty9
crw-rw-rw- 1 root root 1, 9 Apr 17 01:21 urandom
crw-rw-rw- 1 root root 1, 5 Apr 17 01:21 zero


This would result in the following command for grub:



linux (hd2, gpt9)/boot/vmlinuz-3.13.0-32-generic root=/dev/????? video=VGA-1:1366x768e reboot=pci,force


Output for cat /proc/partitions as requested by user309427




ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name

7 0 944156 loop0
8 0 312571224 sda
8 1 1024000 sda1
8 2 266240 sda2
8 3 131072 sda3
8 4 148405248 sda4
8 5 460800 sda5
8 6 26214400 sda6
8 7 13188096 sda7
8 8 3999744 sda8
8 9 24414208 sda9
8 10 94466048 sda10
8 16 1957888 sdb
8 17 1956864 sdb1


Output for mount as requested by user309427




ubuntu@ubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)


Output for blkid as requested by Bain



  • Ubuntu is installed on sda9, and sda10 is the home partition.


ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="WINRE_DRV" UUID="CE4A98414A98286B" TYPE="ntfs"
/dev/sda2: LABEL="SYSTEM_DRV" UUID="329B-10F9" TYPE="vfat"
/dev/sda4: UUID="C28CCB398CCB26AF" TYPE="ntfs"
/dev/sda5: UUID="70601C2E601BFA14" TYPE="ntfs"
/dev/sda6: LABEL="LENOVO" UUID="48B255E5B255D7D0" TYPE="ntfs"
/dev/sda7: LABEL="PBR_DRV" UUID="6A72A04272A014BB" TYPE="ntfs"
/dev/sda9: UUID="673b6434-a5f0-49f0-8a01-af6894958777" TYPE="ext4"
/dev/sda10: UUID="dd7b47a9-33bf-4b73-a880-6e7e488e9c79" TYPE="ext4"
/dev/sdc1: LABEL="UBUNTU 14_0" UUID="1C9C-CB71" TYPE="vfat"


Questions



  • What setting should I use for the root setting?

The screen resolution of my system is 1366x768, not 1368x768.



  • What is the setting for the video?

  • Besides all this, is this the way to get grub working properly?

  • Maybe I misunderstand, but I read I should copy bootia32.efi to the disk. To what folder? I don't see an EFI folder in the root of the installed system.









share|improve this question






















  • 1





    Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

    – chaskes
    Jul 28 '14 at 21:09











  • Yes that's true. Good that you mention it. I added it to the question.

    – SPRBRN
    Jul 28 '14 at 21:40







  • 1





    According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

    – chaskes
    Jul 28 '14 at 22:55






  • 1





    Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

    – bain
    Jul 29 '14 at 0:39











  • @bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

    – SPRBRN
    Aug 1 '14 at 16:11













2













2









2


1






Situation



I have installed Ubuntu Linux 14.04 on a Lenovo Ideapad Flex 10. The only problem I'm facing now is to configure the bootloader. I'm quite familiar with Ubuntu, but not with grub or bootloaders in general. This system has UEFI, and Windows 8.1 is still installed on the harddisk. Ubuntu is installed on partition sda9, but it does not boot. When I remove the usb stick with the live install, Windows boots.



I followed these two guides:




  • How do I install Linux Mint 17 from USB on Flex 10?: Cigydd answers his own question with 11 steps. I succeeded to step 7.


  • Ubuntu (or other Linux) on the Asus Transformer Book T100: I started at step 4, and got stuck here.

See the Ubuntu Pastebin for Root-repair



Bounty



I've put a 50 point bounty on this question, but haven't awarded it because the answers didn't help me any further. I will award 50 points again if an answer here helps me get this working.



EFI firmware



  • The Flex 10 has a 32-bit efi firmware, which complicates things a bit.

  • Following above guides, I've downloaded bootia32.efi and put it on the ubuntu stick in /EFI/BOOT.

  • In the same folder I see two other files: BOOTx64.EFI and grubx64.efi.

Problem



I'm stuck in the second guide, step 4, with the following line:



linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx root=/dev/mmcblk0p5 video=VGA-1:1368x768e reboot=pci,force


The partition is hd2, gpt9 if I'm correct. Strangely enough, it seems I need to leave a space after the comma:



linux (hd2, gpt9)/boot/...


Using the live system, I found the vmlinuz version:



/boot/vmlinuz-3.13.0-32-generic
/boot/vmlinuz-3.13.0-32-generic.efi.signed


I don't know what to do with the root=/dev/... setting. Below you see the output for ls -al /dev for the installed partition.




root@ubuntu:/media/disk9# ls -al dev
total 16
drwxr-xr-x 4 root root 4096 Apr 17 01:26 .
drwxr-xr-x 23 root root 4096 Jul 26 11:24 ..
crw-rw---- 1 root video 10, 175 Apr 17 01:21 agpgart
crw-rw---- 1 root audio 14, 4 Apr 17 01:21 audio
crw-rw---- 1 root audio 14, 20 Apr 17 01:21 audio1
crw-rw---- 1 root audio 14, 36 Apr 17 01:21 audio2
crw-rw---- 1 root audio 14, 52 Apr 17 01:21 audio3
crw-rw---- 1 root audio 14, 7 Apr 17 01:21 audioctl
crw------- 1 root tty 5, 1 Apr 17 01:21 console
lrwxrwxrwx 1 root root 11 Jul 26 11:08 core -> /proc/kcore
crw-rw---- 1 root audio 14, 3 Apr 17 01:21 dsp
crw-rw---- 1 root audio 14, 19 Apr 17 01:21 dsp1
crw-rw---- 1 root audio 14, 35 Apr 17 01:21 dsp2
crw-rw---- 1 root audio 14, 51 Apr 17 01:21 dsp3
lrwxrwxrwx 1 root root 13 Jul 26 11:08 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Apr 17 01:21 full
crw-rw---- 1 root fuse 10, 229 Apr 17 01:22 fuse
crw-r----- 1 root kmem 1, 2 Apr 17 01:21 kmem
brw-rw---- 1 root disk 7, 0 Apr 17 01:21 loop0
brw-rw---- 1 root disk 7, 1 Apr 17 01:21 loop1
brw-rw---- 1 root disk 7, 2 Apr 17 01:21 loop2
brw-rw---- 1 root disk 7, 3 Apr 17 01:21 loop3
brw-rw---- 1 root disk 7, 4 Apr 17 01:21 loop4
brw-rw---- 1 root disk 7, 5 Apr 17 01:21 loop5
brw-rw---- 1 root disk 7, 6 Apr 17 01:21 loop6
brw-rw---- 1 root disk 7, 7 Apr 17 01:21 loop7
drwxr-xr-x 2 root root 4096 Apr 17 01:26 mapper
crw-r----- 1 root kmem 1, 1 Apr 17 01:21 mem
crw-rw---- 1 root audio 35, 0 Apr 17 01:21 midi0
crw-rw---- 1 root audio 14, 2 Apr 17 01:21 midi00
crw-rw---- 1 root audio 14, 18 Apr 17 01:21 midi01
crw-rw---- 1 root audio 14, 34 Apr 17 01:21 midi02
crw-rw---- 1 root audio 14, 50 Apr 17 01:21 midi03
crw-rw---- 1 root audio 35, 1 Apr 17 01:21 midi1
crw-rw---- 1 root audio 35, 2 Apr 17 01:21 midi2
crw-rw---- 1 root audio 35, 3 Apr 17 01:21 midi3
crw-rw---- 1 root audio 14, 0 Apr 17 01:21 mixer
crw-rw---- 1 root audio 14, 16 Apr 17 01:21 mixer1
crw-rw---- 1 root audio 14, 32 Apr 17 01:21 mixer2
crw-rw---- 1 root audio 14, 48 Apr 17 01:21 mixer3
crw-rw---- 1 root audio 31, 0 Apr 17 01:21 mpu401data
crw-rw---- 1 root audio 31, 1 Apr 17 01:21 mpu401stat
crw-rw-rw- 1 root root 1, 3 Apr 17 01:21 null
crw-r----- 1 root kmem 1, 4 Apr 17 01:21 port
crw-rw-rw- 1 root tty 5, 2 Feb 14 02:04 ptmx
drwxr-xr-x 2 root root 4096 Apr 17 01:21 pts
lrwxrwxrwx 1 root root 4 Jul 26 11:08 ram -> ram1
brw-rw---- 1 root disk 1, 0 Apr 17 01:21 ram0
brw-rw---- 1 root disk 1, 1 Apr 17 01:21 ram1
brw-rw---- 1 root disk 1, 10 Apr 17 01:21 ram10
brw-rw---- 1 root disk 1, 11 Apr 17 01:21 ram11
brw-rw---- 1 root disk 1, 12 Apr 17 01:21 ram12
brw-rw---- 1 root disk 1, 13 Apr 17 01:21 ram13
brw-rw---- 1 root disk 1, 14 Apr 17 01:21 ram14
brw-rw---- 1 root disk 1, 15 Apr 17 01:21 ram15
brw-rw---- 1 root disk 1, 16 Apr 17 01:21 ram16
brw-rw---- 1 root disk 1, 2 Apr 17 01:21 ram2
brw-rw---- 1 root disk 1, 3 Apr 17 01:21 ram3
brw-rw---- 1 root disk 1, 4 Apr 17 01:21 ram4
brw-rw---- 1 root disk 1, 5 Apr 17 01:21 ram5
brw-rw---- 1 root disk 1, 6 Apr 17 01:21 ram6
brw-rw---- 1 root disk 1, 7 Apr 17 01:21 ram7
brw-rw---- 1 root disk 1, 8 Apr 17 01:21 ram8
brw-rw---- 1 root disk 1, 9 Apr 17 01:21 ram9
crw-rw-rw- 1 root root 1, 8 Apr 17 01:21 random
crw-rw---- 1 root audio 35, 64 Apr 17 01:21 rmidi0
crw-rw---- 1 root audio 35, 65 Apr 17 01:21 rmidi1
crw-rw---- 1 root audio 35, 66 Apr 17 01:21 rmidi2
crw-rw---- 1 root audio 35, 67 Apr 17 01:21 rmidi3
crw-rw---- 1 root audio 14, 1 Apr 17 01:21 sequencer
lrwxrwxrwx 1 root root 8 Jul 26 11:08 shm -> /run/shm
crw-rw---- 1 root audio 35, 128 Apr 17 01:21 smpte0
crw-rw---- 1 root audio 35, 129 Apr 17 01:21 smpte1
crw-rw---- 1 root audio 35, 130 Apr 17 01:21 smpte2
crw-rw---- 1 root audio 35, 131 Apr 17 01:21 smpte3
crw-rw---- 1 root audio 14, 6 Apr 17 01:21 sndstat
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdout -> fd/1
crw-rw-rw- 1 root tty 5, 0 Apr 17 01:21 tty
crw------- 1 root tty 4, 0 Apr 17 01:21 tty0
crw------- 1 root tty 4, 1 Apr 17 01:21 tty1
crw------- 1 root tty 4, 2 Apr 17 01:21 tty2
crw------- 1 root tty 4, 3 Apr 17 01:21 tty3
crw------- 1 root tty 4, 4 Apr 17 01:21 tty4
crw------- 1 root tty 4, 5 Apr 17 01:21 tty5
crw------- 1 root tty 4, 6 Apr 17 01:21 tty6
crw------- 1 root tty 4, 7 Apr 17 01:21 tty7
crw------- 1 root tty 4, 8 Apr 17 01:21 tty8
crw------- 1 root tty 4, 9 Apr 17 01:21 tty9
crw-rw-rw- 1 root root 1, 9 Apr 17 01:21 urandom
crw-rw-rw- 1 root root 1, 5 Apr 17 01:21 zero


This would result in the following command for grub:



linux (hd2, gpt9)/boot/vmlinuz-3.13.0-32-generic root=/dev/????? video=VGA-1:1366x768e reboot=pci,force


Output for cat /proc/partitions as requested by user309427




ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name

7 0 944156 loop0
8 0 312571224 sda
8 1 1024000 sda1
8 2 266240 sda2
8 3 131072 sda3
8 4 148405248 sda4
8 5 460800 sda5
8 6 26214400 sda6
8 7 13188096 sda7
8 8 3999744 sda8
8 9 24414208 sda9
8 10 94466048 sda10
8 16 1957888 sdb
8 17 1956864 sdb1


Output for mount as requested by user309427




ubuntu@ubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)


Output for blkid as requested by Bain



  • Ubuntu is installed on sda9, and sda10 is the home partition.


ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="WINRE_DRV" UUID="CE4A98414A98286B" TYPE="ntfs"
/dev/sda2: LABEL="SYSTEM_DRV" UUID="329B-10F9" TYPE="vfat"
/dev/sda4: UUID="C28CCB398CCB26AF" TYPE="ntfs"
/dev/sda5: UUID="70601C2E601BFA14" TYPE="ntfs"
/dev/sda6: LABEL="LENOVO" UUID="48B255E5B255D7D0" TYPE="ntfs"
/dev/sda7: LABEL="PBR_DRV" UUID="6A72A04272A014BB" TYPE="ntfs"
/dev/sda9: UUID="673b6434-a5f0-49f0-8a01-af6894958777" TYPE="ext4"
/dev/sda10: UUID="dd7b47a9-33bf-4b73-a880-6e7e488e9c79" TYPE="ext4"
/dev/sdc1: LABEL="UBUNTU 14_0" UUID="1C9C-CB71" TYPE="vfat"


Questions



  • What setting should I use for the root setting?

The screen resolution of my system is 1366x768, not 1368x768.



  • What is the setting for the video?

  • Besides all this, is this the way to get grub working properly?

  • Maybe I misunderstand, but I read I should copy bootia32.efi to the disk. To what folder? I don't see an EFI folder in the root of the installed system.









share|improve this question
















Situation



I have installed Ubuntu Linux 14.04 on a Lenovo Ideapad Flex 10. The only problem I'm facing now is to configure the bootloader. I'm quite familiar with Ubuntu, but not with grub or bootloaders in general. This system has UEFI, and Windows 8.1 is still installed on the harddisk. Ubuntu is installed on partition sda9, but it does not boot. When I remove the usb stick with the live install, Windows boots.



I followed these two guides:




  • How do I install Linux Mint 17 from USB on Flex 10?: Cigydd answers his own question with 11 steps. I succeeded to step 7.


  • Ubuntu (or other Linux) on the Asus Transformer Book T100: I started at step 4, and got stuck here.

See the Ubuntu Pastebin for Root-repair



Bounty



I've put a 50 point bounty on this question, but haven't awarded it because the answers didn't help me any further. I will award 50 points again if an answer here helps me get this working.



EFI firmware



  • The Flex 10 has a 32-bit efi firmware, which complicates things a bit.

  • Following above guides, I've downloaded bootia32.efi and put it on the ubuntu stick in /EFI/BOOT.

  • In the same folder I see two other files: BOOTx64.EFI and grubx64.efi.

Problem



I'm stuck in the second guide, step 4, with the following line:



linux (hd2,gpt5)/boot/vmlinuz-3.13-xxxx root=/dev/mmcblk0p5 video=VGA-1:1368x768e reboot=pci,force


The partition is hd2, gpt9 if I'm correct. Strangely enough, it seems I need to leave a space after the comma:



linux (hd2, gpt9)/boot/...


Using the live system, I found the vmlinuz version:



/boot/vmlinuz-3.13.0-32-generic
/boot/vmlinuz-3.13.0-32-generic.efi.signed


I don't know what to do with the root=/dev/... setting. Below you see the output for ls -al /dev for the installed partition.




root@ubuntu:/media/disk9# ls -al dev
total 16
drwxr-xr-x 4 root root 4096 Apr 17 01:26 .
drwxr-xr-x 23 root root 4096 Jul 26 11:24 ..
crw-rw---- 1 root video 10, 175 Apr 17 01:21 agpgart
crw-rw---- 1 root audio 14, 4 Apr 17 01:21 audio
crw-rw---- 1 root audio 14, 20 Apr 17 01:21 audio1
crw-rw---- 1 root audio 14, 36 Apr 17 01:21 audio2
crw-rw---- 1 root audio 14, 52 Apr 17 01:21 audio3
crw-rw---- 1 root audio 14, 7 Apr 17 01:21 audioctl
crw------- 1 root tty 5, 1 Apr 17 01:21 console
lrwxrwxrwx 1 root root 11 Jul 26 11:08 core -> /proc/kcore
crw-rw---- 1 root audio 14, 3 Apr 17 01:21 dsp
crw-rw---- 1 root audio 14, 19 Apr 17 01:21 dsp1
crw-rw---- 1 root audio 14, 35 Apr 17 01:21 dsp2
crw-rw---- 1 root audio 14, 51 Apr 17 01:21 dsp3
lrwxrwxrwx 1 root root 13 Jul 26 11:08 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Apr 17 01:21 full
crw-rw---- 1 root fuse 10, 229 Apr 17 01:22 fuse
crw-r----- 1 root kmem 1, 2 Apr 17 01:21 kmem
brw-rw---- 1 root disk 7, 0 Apr 17 01:21 loop0
brw-rw---- 1 root disk 7, 1 Apr 17 01:21 loop1
brw-rw---- 1 root disk 7, 2 Apr 17 01:21 loop2
brw-rw---- 1 root disk 7, 3 Apr 17 01:21 loop3
brw-rw---- 1 root disk 7, 4 Apr 17 01:21 loop4
brw-rw---- 1 root disk 7, 5 Apr 17 01:21 loop5
brw-rw---- 1 root disk 7, 6 Apr 17 01:21 loop6
brw-rw---- 1 root disk 7, 7 Apr 17 01:21 loop7
drwxr-xr-x 2 root root 4096 Apr 17 01:26 mapper
crw-r----- 1 root kmem 1, 1 Apr 17 01:21 mem
crw-rw---- 1 root audio 35, 0 Apr 17 01:21 midi0
crw-rw---- 1 root audio 14, 2 Apr 17 01:21 midi00
crw-rw---- 1 root audio 14, 18 Apr 17 01:21 midi01
crw-rw---- 1 root audio 14, 34 Apr 17 01:21 midi02
crw-rw---- 1 root audio 14, 50 Apr 17 01:21 midi03
crw-rw---- 1 root audio 35, 1 Apr 17 01:21 midi1
crw-rw---- 1 root audio 35, 2 Apr 17 01:21 midi2
crw-rw---- 1 root audio 35, 3 Apr 17 01:21 midi3
crw-rw---- 1 root audio 14, 0 Apr 17 01:21 mixer
crw-rw---- 1 root audio 14, 16 Apr 17 01:21 mixer1
crw-rw---- 1 root audio 14, 32 Apr 17 01:21 mixer2
crw-rw---- 1 root audio 14, 48 Apr 17 01:21 mixer3
crw-rw---- 1 root audio 31, 0 Apr 17 01:21 mpu401data
crw-rw---- 1 root audio 31, 1 Apr 17 01:21 mpu401stat
crw-rw-rw- 1 root root 1, 3 Apr 17 01:21 null
crw-r----- 1 root kmem 1, 4 Apr 17 01:21 port
crw-rw-rw- 1 root tty 5, 2 Feb 14 02:04 ptmx
drwxr-xr-x 2 root root 4096 Apr 17 01:21 pts
lrwxrwxrwx 1 root root 4 Jul 26 11:08 ram -> ram1
brw-rw---- 1 root disk 1, 0 Apr 17 01:21 ram0
brw-rw---- 1 root disk 1, 1 Apr 17 01:21 ram1
brw-rw---- 1 root disk 1, 10 Apr 17 01:21 ram10
brw-rw---- 1 root disk 1, 11 Apr 17 01:21 ram11
brw-rw---- 1 root disk 1, 12 Apr 17 01:21 ram12
brw-rw---- 1 root disk 1, 13 Apr 17 01:21 ram13
brw-rw---- 1 root disk 1, 14 Apr 17 01:21 ram14
brw-rw---- 1 root disk 1, 15 Apr 17 01:21 ram15
brw-rw---- 1 root disk 1, 16 Apr 17 01:21 ram16
brw-rw---- 1 root disk 1, 2 Apr 17 01:21 ram2
brw-rw---- 1 root disk 1, 3 Apr 17 01:21 ram3
brw-rw---- 1 root disk 1, 4 Apr 17 01:21 ram4
brw-rw---- 1 root disk 1, 5 Apr 17 01:21 ram5
brw-rw---- 1 root disk 1, 6 Apr 17 01:21 ram6
brw-rw---- 1 root disk 1, 7 Apr 17 01:21 ram7
brw-rw---- 1 root disk 1, 8 Apr 17 01:21 ram8
brw-rw---- 1 root disk 1, 9 Apr 17 01:21 ram9
crw-rw-rw- 1 root root 1, 8 Apr 17 01:21 random
crw-rw---- 1 root audio 35, 64 Apr 17 01:21 rmidi0
crw-rw---- 1 root audio 35, 65 Apr 17 01:21 rmidi1
crw-rw---- 1 root audio 35, 66 Apr 17 01:21 rmidi2
crw-rw---- 1 root audio 35, 67 Apr 17 01:21 rmidi3
crw-rw---- 1 root audio 14, 1 Apr 17 01:21 sequencer
lrwxrwxrwx 1 root root 8 Jul 26 11:08 shm -> /run/shm
crw-rw---- 1 root audio 35, 128 Apr 17 01:21 smpte0
crw-rw---- 1 root audio 35, 129 Apr 17 01:21 smpte1
crw-rw---- 1 root audio 35, 130 Apr 17 01:21 smpte2
crw-rw---- 1 root audio 35, 131 Apr 17 01:21 smpte3
crw-rw---- 1 root audio 14, 6 Apr 17 01:21 sndstat
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jul 26 11:08 stdout -> fd/1
crw-rw-rw- 1 root tty 5, 0 Apr 17 01:21 tty
crw------- 1 root tty 4, 0 Apr 17 01:21 tty0
crw------- 1 root tty 4, 1 Apr 17 01:21 tty1
crw------- 1 root tty 4, 2 Apr 17 01:21 tty2
crw------- 1 root tty 4, 3 Apr 17 01:21 tty3
crw------- 1 root tty 4, 4 Apr 17 01:21 tty4
crw------- 1 root tty 4, 5 Apr 17 01:21 tty5
crw------- 1 root tty 4, 6 Apr 17 01:21 tty6
crw------- 1 root tty 4, 7 Apr 17 01:21 tty7
crw------- 1 root tty 4, 8 Apr 17 01:21 tty8
crw------- 1 root tty 4, 9 Apr 17 01:21 tty9
crw-rw-rw- 1 root root 1, 9 Apr 17 01:21 urandom
crw-rw-rw- 1 root root 1, 5 Apr 17 01:21 zero


This would result in the following command for grub:



linux (hd2, gpt9)/boot/vmlinuz-3.13.0-32-generic root=/dev/????? video=VGA-1:1366x768e reboot=pci,force


Output for cat /proc/partitions as requested by user309427




ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name

7 0 944156 loop0
8 0 312571224 sda
8 1 1024000 sda1
8 2 266240 sda2
8 3 131072 sda3
8 4 148405248 sda4
8 5 460800 sda5
8 6 26214400 sda6
8 7 13188096 sda7
8 8 3999744 sda8
8 9 24414208 sda9
8 10 94466048 sda10
8 16 1957888 sdb
8 17 1956864 sdb1


Output for mount as requested by user309427




ubuntu@ubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)


Output for blkid as requested by Bain



  • Ubuntu is installed on sda9, and sda10 is the home partition.


ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="WINRE_DRV" UUID="CE4A98414A98286B" TYPE="ntfs"
/dev/sda2: LABEL="SYSTEM_DRV" UUID="329B-10F9" TYPE="vfat"
/dev/sda4: UUID="C28CCB398CCB26AF" TYPE="ntfs"
/dev/sda5: UUID="70601C2E601BFA14" TYPE="ntfs"
/dev/sda6: LABEL="LENOVO" UUID="48B255E5B255D7D0" TYPE="ntfs"
/dev/sda7: LABEL="PBR_DRV" UUID="6A72A04272A014BB" TYPE="ntfs"
/dev/sda9: UUID="673b6434-a5f0-49f0-8a01-af6894958777" TYPE="ext4"
/dev/sda10: UUID="dd7b47a9-33bf-4b73-a880-6e7e488e9c79" TYPE="ext4"
/dev/sdc1: LABEL="UBUNTU 14_0" UUID="1C9C-CB71" TYPE="vfat"


Questions



  • What setting should I use for the root setting?

The screen resolution of my system is 1366x768, not 1368x768.



  • What is the setting for the video?

  • Besides all this, is this the way to get grub working properly?

  • Maybe I misunderstand, but I read I should copy bootia32.efi to the disk. To what folder? I don't see an EFI folder in the root of the installed system.






grub2 uefi bootloader






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 6 '14 at 7:32







SPRBRN

















asked Jul 26 '14 at 16:28









SPRBRNSPRBRN

1,8562 gold badges22 silver badges32 bronze badges




1,8562 gold badges22 silver badges32 bronze badges










  • 1





    Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

    – chaskes
    Jul 28 '14 at 21:09











  • Yes that's true. Good that you mention it. I added it to the question.

    – SPRBRN
    Jul 28 '14 at 21:40







  • 1





    According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

    – chaskes
    Jul 28 '14 at 22:55






  • 1





    Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

    – bain
    Jul 29 '14 at 0:39











  • @bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

    – SPRBRN
    Aug 1 '14 at 16:11












  • 1





    Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

    – chaskes
    Jul 28 '14 at 21:09











  • Yes that's true. Good that you mention it. I added it to the question.

    – SPRBRN
    Jul 28 '14 at 21:40







  • 1





    According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

    – chaskes
    Jul 28 '14 at 22:55






  • 1





    Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

    – bain
    Jul 29 '14 at 0:39











  • @bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

    – SPRBRN
    Aug 1 '14 at 16:11







1




1





Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

– chaskes
Jul 28 '14 at 21:09





Btw, I just noticed the little detail about the Flex 10 having a 32-bit efi firmware; so I deleted my answer, which wouldn't apply. ;)

– chaskes
Jul 28 '14 at 21:09













Yes that's true. Good that you mention it. I added it to the question.

– SPRBRN
Jul 28 '14 at 21:40






Yes that's true. Good that you mention it. I added it to the question.

– SPRBRN
Jul 28 '14 at 21:40





1




1





According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

– chaskes
Jul 28 '14 at 22:55





According to the 2nd link, 14.10 will support 32-bit efi. In the meantime, you might be able to install to an external usb drive using legacy mode. Not the best solution (if it works), but it might get you by until the problem is solved.

– chaskes
Jul 28 '14 at 22:55




1




1





Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

– bain
Jul 29 '14 at 0:39





Why did you start following the second guide from the beginning? The first guide applies to your hardware and describes exactly what you want to do. Since you already have Ubuntu installed, just begin from step 6 - boot linux from hard drive using the iso, then just compile and install grub using the instructions from "6. Completing the installation". You do not need to manually set the grub command line.

– bain
Jul 29 '14 at 0:39













@bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

– SPRBRN
Aug 1 '14 at 16:11





@bain, I didn't start the second guide from the beginning - and I should clarify that in the question. I started at step 4, then got stuck immediately.

– SPRBRN
Aug 1 '14 at 16:11










1 Answer
1






active

oldest

votes


















0



















Ugh, first order of business problably would be finding the root device. I've never seen the naming you seem to be having. Can you give the output of




cat /proc/partitions




and




mount




That will probably help getting the root partition's name.



Since EFI boot comes with its own bag of troubles, would you accept a solution wherein you install the grub bootloader on your linux partition (so not MBR or anything) and chainboot from the Windows Loader into grub via Windows Loader Menu? If so, what you'd need to do is install grub into the current linux root partition, copy the first 512 bytes out via dd into a file and copy that file over to Windows' system drive. From there it's a few commands for the bcd (http://technet.microsoft.com/en-us/library/cc721886%28v=ws.10%29.aspx ) to add the grub bootloader now in a file to the Windows startup list, although I've never done it on an EFI system.






share|improve this answer

























  • If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

    – SPRBRN
    Jul 28 '14 at 20:55











  • Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

    – user309427
    Jul 28 '14 at 20:59












  • I've added the requested output to my question for the root partition name.

    – SPRBRN
    Aug 1 '14 at 15:38












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f503027%2fconfiguring-grub-for-ubuntu-on-lenovo-ideapad-flex-10%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0



















Ugh, first order of business problably would be finding the root device. I've never seen the naming you seem to be having. Can you give the output of




cat /proc/partitions




and




mount




That will probably help getting the root partition's name.



Since EFI boot comes with its own bag of troubles, would you accept a solution wherein you install the grub bootloader on your linux partition (so not MBR or anything) and chainboot from the Windows Loader into grub via Windows Loader Menu? If so, what you'd need to do is install grub into the current linux root partition, copy the first 512 bytes out via dd into a file and copy that file over to Windows' system drive. From there it's a few commands for the bcd (http://technet.microsoft.com/en-us/library/cc721886%28v=ws.10%29.aspx ) to add the grub bootloader now in a file to the Windows startup list, although I've never done it on an EFI system.






share|improve this answer

























  • If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

    – SPRBRN
    Jul 28 '14 at 20:55











  • Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

    – user309427
    Jul 28 '14 at 20:59












  • I've added the requested output to my question for the root partition name.

    – SPRBRN
    Aug 1 '14 at 15:38















0



















Ugh, first order of business problably would be finding the root device. I've never seen the naming you seem to be having. Can you give the output of




cat /proc/partitions




and




mount




That will probably help getting the root partition's name.



Since EFI boot comes with its own bag of troubles, would you accept a solution wherein you install the grub bootloader on your linux partition (so not MBR or anything) and chainboot from the Windows Loader into grub via Windows Loader Menu? If so, what you'd need to do is install grub into the current linux root partition, copy the first 512 bytes out via dd into a file and copy that file over to Windows' system drive. From there it's a few commands for the bcd (http://technet.microsoft.com/en-us/library/cc721886%28v=ws.10%29.aspx ) to add the grub bootloader now in a file to the Windows startup list, although I've never done it on an EFI system.






share|improve this answer

























  • If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

    – SPRBRN
    Jul 28 '14 at 20:55











  • Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

    – user309427
    Jul 28 '14 at 20:59












  • I've added the requested output to my question for the root partition name.

    – SPRBRN
    Aug 1 '14 at 15:38













0















0











0









Ugh, first order of business problably would be finding the root device. I've never seen the naming you seem to be having. Can you give the output of




cat /proc/partitions




and




mount




That will probably help getting the root partition's name.



Since EFI boot comes with its own bag of troubles, would you accept a solution wherein you install the grub bootloader on your linux partition (so not MBR or anything) and chainboot from the Windows Loader into grub via Windows Loader Menu? If so, what you'd need to do is install grub into the current linux root partition, copy the first 512 bytes out via dd into a file and copy that file over to Windows' system drive. From there it's a few commands for the bcd (http://technet.microsoft.com/en-us/library/cc721886%28v=ws.10%29.aspx ) to add the grub bootloader now in a file to the Windows startup list, although I've never done it on an EFI system.






share|improve this answer














Ugh, first order of business problably would be finding the root device. I've never seen the naming you seem to be having. Can you give the output of




cat /proc/partitions




and




mount




That will probably help getting the root partition's name.



Since EFI boot comes with its own bag of troubles, would you accept a solution wherein you install the grub bootloader on your linux partition (so not MBR or anything) and chainboot from the Windows Loader into grub via Windows Loader Menu? If so, what you'd need to do is install grub into the current linux root partition, copy the first 512 bytes out via dd into a file and copy that file over to Windows' system drive. From there it's a few commands for the bcd (http://technet.microsoft.com/en-us/library/cc721886%28v=ws.10%29.aspx ) to add the grub bootloader now in a file to the Windows startup list, although I've never done it on an EFI system.







share|improve this answer













share|improve this answer




share|improve this answer










answered Jul 28 '14 at 20:39









user309427user309427

481 silver badge3 bronze badges




481 silver badge3 bronze badges















  • If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

    – SPRBRN
    Jul 28 '14 at 20:55











  • Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

    – user309427
    Jul 28 '14 at 20:59












  • I've added the requested output to my question for the root partition name.

    – SPRBRN
    Aug 1 '14 at 15:38

















  • If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

    – SPRBRN
    Jul 28 '14 at 20:55











  • Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

    – user309427
    Jul 28 '14 at 20:59












  • I've added the requested output to my question for the root partition name.

    – SPRBRN
    Aug 1 '14 at 15:38
















If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

– SPRBRN
Jul 28 '14 at 20:55





If I can get Linux to boot directly, that is good enough. It's OK to ditch MBR if it's still possible to startup Windows. Is there a risk involved and can I go back?

– SPRBRN
Jul 28 '14 at 20:55













Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

– user309427
Jul 28 '14 at 20:59






Unless you misuse bsdedit on Windows side and destroy your boot configuration there shouldn't be any. And yes it's undoable. Basically follow these steps: alien.slackbook.org/blog/adding-linux-to-the-windows7-boot-menu (Yes they are for Windows 7 but should work the same)

– user309427
Jul 28 '14 at 20:59














I've added the requested output to my question for the root partition name.

– SPRBRN
Aug 1 '14 at 15:38





I've added the requested output to my question for the root partition name.

– SPRBRN
Aug 1 '14 at 15:38


















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f503027%2fconfiguring-grub-for-ubuntu-on-lenovo-ideapad-flex-10%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?