Peppermint | Linux OS Community Forum
 
It is currently Tue Sep 17, 2019 11:06 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Cannot Boot Peppermint 4 on Lenovo X130e -SOLVED
PostPosted: Fri Jun 21, 2013 10:34 am 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
I have a Lenovo X130e Netbook that I installed Peppermint four on and the install process seemed to go fine. However, upon rebooting there is no screen that allows you to select or boot from Peppermint four the machine just continues to boot into Windows 7 professional. Can anyone tell me what I need to do to be able to boot directly to Peppermint four but also to be able to boot to Windows 7 when needed. Help! Thanks. Jeff


Last edited by jlschwartz on Mon Jul 08, 2013 9:07 pm, edited 2 times in total.

Top
 Profile  
 
 

 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 10:53 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
I'm going to guess the GRUB bootloader didn't get install (or was installed to the wrong place)

Can you boot to the LiveCD/LiveUSB .. open a terminal (Ctrl+Alt+T) and post the output from:
Code:
sudo fdisk -l

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 11:19 am 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
peppermint@peppermint ~ $ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x0fe76135

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 3074047 1536000 7 HPFS/NTFS/exFAT
/dev/sda2 3074048 445672434 221299193+ 7 HPFS/NTFS/exFAT
/dev/sda3 592371712 625139711 16384000 7 HPFS/NTFS/exFAT
/dev/sda4 445673470 592371711 73349121 5 Extended
/dev/sda5 445673472 576434175 65380352 83 Linux
/dev/sda6 576436224 592371711 7967744 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31266816 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/sdb1 * 32 31266815 15633392 c W95 FAT32 (LBA)
peppermint@peppermint ~ $

I think I might have the UEFI issue that is in the new operating systems on booting but I don't know how to deal with that. Thanks. Jeff


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 11:52 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Did the Levono X130e come with any kind of recovery media (for reinstalling Win7 in case of disaster) such as a DVD or USB stick ?

I don't mean a recovery partition on the hard drive.

Just to be sure you're using GPT rather than MBR .. can you boot to the Peppermint LiveUSB, make sure you have an active internet connection, then run:
Code:
sudo apt-get install gdisk

then:
Code:
gdisk -l /dev/sda

and post back the output.

I'm just after this part:-
Quote:
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present

or similar (yours may be slightly different)

also post the output from:-
Code:
sudo parted -l

(for clarity, there are NO numbers in any of the above commands .. they are lower case L's not 1's)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 12:27 pm 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 662D96F8-C372-447A-AAC4-5A58BAFE18DE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 7802 sectors (3.8 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 3074047 1.5 GiB 0700 Microsoft basic data
2 3074048 445672434 211.0 GiB 0700 Microsoft basic data
3 592371712 625139711 15.6 GiB 0700 Microsoft basic data
5 445673472 576434175 62.4 GiB 8300 Linux filesystem
6 576436224 592371711 7.6 GiB 8200 Linux swap
peppermint@peppermint ~ $ sudo parted -l
Model: ATA HITACHI HTS72323 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 1574MB 1573MB primary ntfs boot
2 1574MB 228GB 227GB primary ntfs
4 228GB 303GB 75.1GB extended
5 228GB 295GB 66.9GB logical ext4
6 295GB 303GB 8159MB logical linux-swap(v1)
3 303GB 320GB 16.8GB primary ntfs


Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

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


peppermint@peppermint ~ $

There is a program called easybcd that is recommended under ubuntu to add a dual boot system. But I need to know the name to put in the boot such as Ubuntu 12.04 LTS. Would it be Peppermint 4?


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 1:10 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
You are NOT using GPT, so yeh either reinstalling GRUB or using EasyBCD will do the trick (but only if you installed the GRUB bootloader to the Linux partition [/dev/sda5])

As far as I'm aware .. you can call it whatever you like in EasyBCD.

EasyBCD instructions .. See here:
https://neosmart.net/wiki/display/EBCD/Linux

1) Choose "Linux\BSD" from the tabs on the top.

2) Select GRUB2 from the drop-down menu.

3) Choose the correct drive and partition number for your Linux partition. (in your case /dev/sda5)

4) Enter the name you would like to give the Linux entry in the bootloader (whatever you like .. Peppermint 4 would be fine).

5) Press "Add Entry" and reboot to test.

======================================================

If you'd prefer to use GRUB as the bootloader (or need to install it to /dev/sda5 for EasyBCD to work), let me know.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 2:42 pm 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
Honestly, I would prefer to use Grub. Peppermint 4 installed automatically and I did not do anything to change a normal installation. So if something wasn't installed it was the install that did it not something I did that I know of. Thanks. Jeff


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 3:02 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Boot to the LiveUSB, and run these commands in sequence:
Code:
sudo mount /dev/sda5 /mnt

then
Code:
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

then
Code:
sudo chroot /mnt

then
Code:
grub-install --recheck /dev/sda

then
Code:
update-grub

then hit Ctrl+D to exit the chroot environment.

Now shutdown:
Code:
sudo shutdown -P now

remove the LiveUSB .. and boot to test

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 3:08 pm 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
I tried easy bcd. It set up the menu, but when I select peppermint 4 I get the following and everything stops. Help.

grub>

Thanks. Jeff


Top
 Profile  
 
 Post subject: Re: Cannot Boot Peppermint 4 on Lenovo X130e
PostPosted: Fri Jun 21, 2013 4:59 pm 
Offline

Joined: Tue Dec 18, 2012 3:39 pm
Posts: 97
Since I already used Easybcd, should I still use the code you suggested? I haven't tried that as I did not want to create a problem. You were apparently answering my post at the same time that I was writing mine so I'm not sure what I should do next. Should I remove what I added in Easbcd or not? Please advise. Thanks. Jeff.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL