LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-06-2015, 03:52 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Rep: Reputation: Disabled
can't boot in ubuntu after reinstalling windows 7


Hello guys, I hope somebody can help me with this. I got in troubles after I reinstalled windows 7 on my dual boot machine (dell xps 17 with windows 7 and ubuntu). Windows starts OK but ubuntu doesn't even if it is still on my machine (here is what my disk looks like http://s15.postimg.org/sjfwy031n/disk.jpg, fourth partition should be linux). Anyway, here is the account of what I've done so far, sorry if it is a bit long.
I followed the procedure detailed here http://askubuntu.com/questions/13996...ws-7-boot-menu and when I restarted the laptop I got the choice of windows or NeoGrub bootloader http://s14.postimg.org/4d4jcboip/enu.jpg and if I select the Neogrub I get the grub prompt http://s13.postimg.org/okiducm1z/prompt.jpg
Basically, my problem is that I'm not able to boot into ubuntu GUI and when I try to find out what partition is what from grub I get an error: "Filename must be either an absolute pathname or blocklist" as here http://postimg.org/image/c0r0z1qir/.
Does anybody know how I can get in ubuntu again please?
thanks
 
Old 01-06-2015, 04:48 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
It looks like Ubuntu is on sda5. Did you install the Ubuntu Grub bootloader to that partition during the install. Since you are using EasyBCD and it chainloads to the partition you would need Grub there. Probably the best thing to do is to get more details on your partitions and boot files to post here. Boot the Ubuntu installation disk and go to the site below, download the bootinfoscript and run it and post the output which is a results.txt file. There are instructions in a link in the Description box at the top of the page:

http://sourceforge.net/projects/bootinfoscript/
 
Old 01-07-2015, 02:08 AM   #3
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
Thanks, I don't have the original boot disk as I think I installed it from USB, should I then download the ubuntu iso and make a bootable cd/usb and then follow your instructions?
 
Old 01-07-2015, 08:48 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The bootinfoscript needs to be run from Linux, so if you have no Linux CD/DVD/flash drive that limits things so you will probably need to download and put it on a flash drive and then run the bootinfoscript. The bootinfoscript is not going to repair anything but provide information which you can post here and we can get a clear idea of what the problem might be.
 
Old 01-08-2015, 10:19 AM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
OK cool, that's done, file attached. Please let me know if that helps
thanks
Attached Files
File Type: txt RESULTS.txt (21.7 KB, 20 views)
 
Old 01-08-2015, 10:59 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Grub is installed on sda6 where Ubuntu is also installed. Your output shows that windows is on the master boot record so that means your entry for ubuntu in EasyBCD is wrong. The link below shown in the bootinfoscript is supposed to have information on how to change the entries. I haven't used EasyBCD for over 5 years so don't have any suggestions in that regard. Check the site below to see if it helps. Open My Computer in windows. You should see a folder named NST and there should be a menu.lst file there.

http://neosmart.net/wiki/display/EBCD/

The other option is to install Grub from Ubuntu to the master boot record and then boot Ubuntu and run sudo update-grub which should detect windows and create a menu entry for it. The link below shows several methods of doing that if you chose.

https://help.ubuntu.com/community/Gr..._Broken_System

Last edited by yancek; 01-08-2015 at 11:01 AM.
 
Old 01-08-2015, 12:20 PM   #7
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
Thanks.
Quote:
Open My Computer in windows. You should see a folder named NST and there should be a menu.lst file there.
Unfortunately there isn't such a folder in my computer. The funny thing was that I was supposed to see the folder when I first used EasyBCD, but nothing happened then. The thing is I followed the instruction as detailed on the site.
Anyway, second solution: following from your link, I ended up here http://sourceforge.net/p/boot-repair-cd/home/Home/, which seems the easiest way. So what you've described
Quote:
install Grub from Ubuntu to the master boot record and then boot Ubuntu and run sudo update-grub which should detect windows and create a menu entry for it
I'd assumed it will be taken care by it? I'll give it a go and see what happens. I suppose I can't break anything - meaning making my laptop unbootable?
 
Old 01-08-2015, 01:16 PM   #8
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
OK fixed it. Thanks for your help
 
Old 01-08-2015, 03:26 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Well, glad you got it working.

Quote:
I suppose I can't break anything - meaning making my laptop unbootable?
Well, you certainly could but it almost always works saving weird stuff like a lightning strike or angry cat/dog/small child. Anytime you're modify bootloaders there is the potential for problems including an unbootable machine. As long as you have this system you will need to keep the Ubuntu installation medium/Live CD or flash drive, just in case because the Ubuntu Grub bootloader is in charge. If you decide you don't want it in the future and format the Ubuntu partition, you have an unbootable computer. You should have a windows installation CD/DVD or a Recovery disk if you plan on continuing with windows.

Last edited by yancek; 01-08-2015 at 03:32 PM.
 
Old 01-08-2015, 06:06 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
Unfortunately there isn't such a folder in my computer. The funny thing was that I was supposed to see the folder when I first used EasyBCD
It may be hidden, will have to go into controlpane\folder\view and uncheck/check dontshow/show hidden files. It has been awhile so not sure what the option says

Last edited by colorpurple21859; 01-08-2015 at 06:09 PM.
 
Old 01-08-2015, 06:41 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
It may be hidden
I have an installation of windows 7 and 5 years ago, I installed EasyBCD and the NST folder is still sitting there in the root of the filesystem, not a hidden file so if the OP doesn't have it, that would go a long way toward explaining why his EasyBCD didn't work.
 
Old 01-08-2015, 09:12 PM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
Originally Posted by yancek View Post
I have an installation of windows 7 and 5 years ago, I installed EasyBCD and the NST folder is still sitting there in the root of the filesystem, not a hidden file so ivf the OP doesn't have it, that would go a long way toward explaining why his EasyBCD didn't work.
I also have not used EasyBCD in a while and couldn't remember if it was hidden or not so I thought it would be something to check.
 
Old 01-11-2015, 01:40 PM   #13
jazzo
Member
 
Registered: Jul 2012
Posts: 277

Original Poster
Rep: Reputation: Disabled
@colorpurple21859 good point, it might be hidden, it didn't occur to me

Quote:
If you decide you don't want it in the future and format the Ubuntu partition, you have an unbootable computer.
Ah I see, so if I reformat the ubuntu partition for the sake of argument then windows will not boot and I have to reinstall it
 
Old 01-11-2015, 05:04 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I have NEVER needed "EasyBCD"
fedora's grub( 4 to 11) auto booted xp
and Scientificlinux's grub ( 5.x and 6.x) boots Win7 just fine
and my default OS OpenSUSE(11.1 through 13.2) AUTO set up win7 and sl6
there is and never was a need for "EasyBCD"

grub2 ( and the legacy grub0.9) will auto set up and be able to boot win7 just fine
 
Old 01-11-2015, 05:21 PM   #15
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
@colorpurple21859 good point, it might be hidden, it didn't occur to me
No, it isn't. See my post above. If you have it, it will be in the root of the filesystem, when you go to the C partition on windows. If you don't see it there, you don't have it.
 
  


Reply



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
Question about reinstalling Ubuntu next to existing Windows 7 install swright007 Linux - Desktop 4 10-26-2011 11:45 AM
[SOLVED] URGENT. Reinstalling vista on a pc with ubuntu dual boot kumaaran Linux - Newbie 13 08-26-2009 04:56 AM
Reformating and reinstalling windows with a duel boot. whited Linux - General 2 03-09-2005 11:42 AM
reinstalling windows deleted my grub master boot file; how do I restore it? sohmc Linux - General 3 01-12-2005 01:27 PM
reinstalling windows... need to create a boot floppy bandofmercy Linux - General 4 10-17-2003 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration