LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2014, 12:17 PM   #1
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Rep: Reputation: Disabled
problem getting xubuntu 14.04 to boot


hi,
I have problem getting xubuntu 14.04 to boot.My system is a laptop with
Intel Pentium M processor 1.30GHz - 2Gb RAM.I first tried the live CD,which worked just fine,so then I installed
xubuntu alongside with Win 7,giving 10gb for the new partition to the installation.I had to use the "forcepae" command
since my kernel propably is not pae-enabled.The installation process went just fine,but after reboot I get:
error: no such partition.
Entering rescue mode...
grub rescue>

Offcourse I had to restore the old mbr to boot into win7.
Through live CDs,the partition(ext4) looks OK.
So I have a xubuntu installation in my laptop,but I can't boot into it,
could anyone help?
maybe these help: paste.ubuntu.com/7630007/
pastebin.com/bAGCRfy7


I have done these with some help,but no luck,I keep getting the same(no such partition...):

xubuntu@xubuntu:~$ sudo mkdir /mnt/xubuntu
xubuntu@xubuntu:~$ sudo mount /dev/sda5 /mnt/xubuntu
xubuntu@xubuntu:~$ sudo mount -t proc none /mnt/xubuntu/proc
xubuntu@xubuntu:~$ sudo mount --rbind /sys /mnt/xubuntu/sys
xubuntu@xubuntu:~$ sudo mkdir /mnt/xubuntu
mkdir: cannot create directory ‘/mnt/xubuntu’: File exists
xubuntu@xubuntu:~$ sudo mount /dev/sda5 /mnt/xubuntu
mount: /dev/sda5 already mounted or /mnt/xubuntu busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt/xubuntu
xubuntu@xubuntu:~$ sudo mount -t proc none /mnt/xubuntu/proc
mount: none already mounted or /mnt/xubuntu/proc busy
mount: according to mtab, none is already mounted on /mnt/xubuntu/proc
xubuntu@xubuntu:~$ sudo mount --rbind /sys /mnt/xubuntu/sys
xubuntu@xubuntu:~$ sudo mount --rbind /dev /mnt/xubuntu/dev
xubuntu@xubuntu:~$ sudo cp /etc/resolv.conf /mnt/xubuntu/etc/resolv.conf
xubuntu@xubuntu:~$ sudo chroot /mnt/xubuntu /bin/bash
root@xubuntu:/# source /etc/profile
root@xubuntu:/# sudo grub-install --recheck /dev/sda
sudo: unable to resolve host xubuntu
Installing for i386-pc platform.
Installation finished. No error reported.
root@xubuntu:/# grub-install --recheck /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
root@xubuntu:/# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
root@xubuntu:/#

Last edited by xnikos; 06-26-2014 at 12:20 PM.
 
Old 06-26-2014, 03:08 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,676

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
I think that almost all main distro's have pae enabled by default. Could be wrong on that I guess.

I don't think that has anything to do with your issue.

The place to start should have been here. "error: no such partition."

Now as to why grub is not correct I can't say. You can post the grub config to see if it matches what you have. You might be able to use grub to see what or where data is. In some cases you may have to have /boot in a lower area of the disk. Not positive that would cause this error.
 
1 members found this post helpful.
Old 06-27-2014, 10:27 AM   #3
jpmcbooks
LQ Newbie
 
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24

Rep: Reputation: 0
boot repair

I have has success with
https://help.ubuntu.com/community/Boot-Repair
 
Old 06-27-2014, 01:23 PM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Boot from a live session (LiveCD) and while you are in the live sesssion go to the boot repair tool web site, install it, run it, and reboot your computer from the hard drive. Let us know how that goes.

Here is the boot repair tool link https://help.ubuntu.com/community/Boot-Repair
 
Old 07-04-2014, 04:29 AM   #5
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've tried so many,with no result.
The boot-repair disc don't run(giving some errors),but I intalled boot-repair through live CD,
and run it,but I keep getting the same:
error: no such partition.
Entering rescue mode...
grub rescue>

I even deleted the partitions and reinstalled xubuntu,this time making the partitions manually,but with same result.
these might help:
http://paste.ubuntu.com/7743639/
http://paste.ubuntu.com/7743672/
I also tried this with no result:
http://itsfoss.com/solve-error-parti...-ubuntu-linux/

the "bootable" flag must be in which partition(it's dual boot with win7)?
do I need a boot partition?
can it be a bios problem?
I had ubuntu in this laptop,some years ago,with no problem.
It's driving me crazy,anyone with some new idea?
 
Old 07-07-2014, 10:44 AM   #6
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Boot the Ubuntu installation media, once you are in live session run Gparted, select your computer hard drive and reduce the windows volume to make room for the Ubuntu installation, you dont need to format that space just make room for it, save the changes and close Gparted.

Make sure you have internet connection to start the installation
click on install Ubuntu, select to download upgrades while installing, also select to install third party software during the installation if you wish to use your computer for MP3, Videos, Youtube, photos and other multi media files.

Next step in 'Installation Type select something else, there select to add a partition table. The installer will display the free space in your hard drive. Select the free space and look at the bottom left of the dialog it will show a + and - sign, click on the + then make a partition of 20 GB, select it to be format on ext4, and select to the mount point of /.

select the free space again and click on the + sign again and make another partition, give it 3GB, format it selecting swap, the system will know where to mount it so you just leave it like that

select the rest of free space, format it to ext4 and select the mount point of /home

save it and proceed with the installation


select your time zone, create and user, create a password, choose if you want to use that password each session or if you want to boot directly to the desktop without logging in, that is up to you.
Also you have the choice to encrypt your home partition it is up to you.

then continue with the installation until the computer ask you to restart.

If you restart the computer and it doesnt give you and option to boot into W7 run the command on the command line
Code:
sudo update-grub
That should be it.
 
Old 07-08-2014, 05:37 PM   #7
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unhappy

First of all,thank you so much TroN-0074 for helping.
I've done everything you wrote,very carefully,but same result:
error: no such partition.
Entering rescue mode...
grub rescue>

the installation goes fine,I get no errors,but then,the same...
I tried a couple of boot-repairs(through live CD),but no result:
http://paste.ubuntu.com/7767202/
http://paste.ubuntu.com/7767238/
could it be related with enabling PAE kernel?My laptop has Pentium M,and everytime I boot the liveCD,I have to use the parameter 'forcepae' (but it works as it should).
I really want it to work,but I can't think of anything else.
 
Old 07-08-2014, 07:40 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,280

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
The output you posted shows Grub installed to the master boot record as it should be. The core.img file is where it should be and the menuentry for Xubuntu is pointing to the correct partition and has the correct uuid in the entry. I don't see any problem with Grub. The error message you are reporting generally has a uuid. Is it the root or home uuid, as shown in the boot report you posted? You might try mounting the / partition, sda5 from the installation medium and going to the /boot/grub/grub.cfg file and adding your forcepae parameter to the end of the linux line as a test.
 
Old 07-16-2014, 05:59 AM   #9
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
I spend hours and hours trying to boot xubuntu,with no luck.
I don't know what to try anymore.I tried installing using ext3 instead of ext4,but no luck.
I tried installing 12.04 instead of 14.04,but no luck.
When I installed grub4dos through puppy linux,I get to the boot screen(normally),where I can choose between puppy or win7 or ubuntu.And it works ok for puppy and win7,but not for ubuntu.
I installed the same way xubuntu in my PC and another laptop(from a friend),and everything went fine and works smoothly.
I keep getting:
error: no such partition.
Entering rescue mode...
grub rescue>

the crub.cfg file is this: http://pastebin.com/iL76YWex
after clean install: http://paste.ubuntu.com/7771892/
can it be a bios thing?
any other idea?
 
Old 07-16-2014, 07:25 AM   #10
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
The only thing that comes to mind is the hard drive. Do you have a spare hard drive to put in the computer and try to install in it.
 
Old 07-16-2014, 08:09 AM   #11
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
yes it looks like linux can not see the drive or the partition(although it installs alright)
also puppy installs(frugal)and works fine.
the drive is not the one that came with the laptop,it's updated with WD 160GB ATA,and I had no issues,never.
How can I check for incompatibilities of the drive or the bios?
anyone had such an issue?

*actually it looks like grub2 can't see(or mount)the partition,
although all other programs(like GParted etc)can see all partitions
and work with them through liveCD.

Last edited by xnikos; 07-16-2014 at 08:17 AM.
 
Old 07-16-2014, 10:28 AM   #12
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,512

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
If you can do a frugal install of Puppy, then there's nothing seriously wrong with the HD. If you don't like Puppy, try something else with legacy Grub, like AntiX, or a Lilo distro like Salix. Ubuntu and all its works can be very fussy, but this sounds like a Grub 2 problem.

Last edited by DavidMcCann; 07-16-2014 at 10:32 AM. Reason: addition
 
Old 07-24-2014, 11:15 AM   #13
xnikos
LQ Newbie
 
Registered: Jun 2014
Distribution: xubuntu 14.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
Smile solved

after a lot of reading I finally resolved my problem.
I had to create a /boot partition and put this and other linux partitions in the first 100GB of the drive.I had the idea reading this:
https://help.ubuntu.com/community/DiskSpace
I installed once more,and everything went fine!
I want to thank you all for your help!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xubuntu install fails to boot on its own. Thyem Linux - Newbie 1 08-21-2012 09:51 PM
Xubuntu 10.10 cannot be seen on boot kiddieland Linux - Newbie 5 05-22-2011 06:58 PM
GRUB Xubuntu Boot Problems Wolfcube Linux - Newbie 12 07-17-2010 06:37 PM
Xubuntu 8.10 boot hangs diamondjim08 Linux - Newbie 1 02-12-2009 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration