LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-03-2013, 02:29 AM   #1
Tom_ZeCat
LQ Newbie
 
Registered: May 2008
Location: Omaha, Nebraska
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Help me remember name of dual boot utility


I have a Windows 7 laptop which I've also installed Kubuntu 13.04 onto. However, it still only boots to Windows 7 without giving you any option to choose Kubuntu. (You can see my conversation about my install here: http://www.kubuntuforums.net/showthr...766#post330766 )

Some years back, I set up a tri-boot desktop PC with Ubuntu 8.04, Windows 7, and Windows XP. Ubuntu was installed on the primary drive and was the only OS on it while 7 and XP were installed on a secondary drive. On the primary drive I edited Grub to give the user a choice between Ubuntu or 7. If the user chose Windows, it went to the secondary drive and gave the user the choice of 7 or XP. For the secondary drive, I used a utility to edit some kind of boot file to give the person that choice.

That's where my problem comes in. I don't remember the name of the utility. I remember you could use it to give users the choice of Windows or Linux. I think it's likely what I need here because I don't think this bootup is seeing Grub.

Or should I wipe this install of Kubuntu and install again, doing some things differently? You can see the details of what I did in the link above.

It's frustrating that I don't remember the name of that utility or have a copy of it. It's been a few years since I used Linux. I remember you ran it under Windows and selected operating systems and what order you wanted them shown on the list. Or should I be pursuing a way to do this via Grub?

Edit:
I went to sleep and then woke up in the middle of the night remembering the name of the utility. It's Easy BCD. Gonna go back to sleep. Tomorrow I'll see if I can get this thing to work.

Last edited by Tom_ZeCat; 07-03-2013 at 03:33 AM.
 
Old 07-03-2013, 07:30 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
My utility to dual or triple boot or any other boot is GRUB .
I am not ever of a special utility to do the trick
 
Old 07-03-2013, 01:34 PM   #3
Tom_ZeCat
LQ Newbie
 
Registered: May 2008
Location: Omaha, Nebraska
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
I'm not having much luck with Easy BCD. I've been looking up dual boot info, and it seems everything says to either edit Grub or the Windows bootloader. Do you know if there are advantages to either?

I think this Easy BCD utility edits the Windows bootloader. When I put in my Ubuntu/Kubuntu (I've tried both) install, I get the option of Windows or Linux on bootup. If I choose Windows, no problems. Win 7 loads. If I choose Linux, I get a command line prompt called Grub4DOS.

I'm googling info on how to edit both Grub and the bootloader.
 
Old 07-03-2013, 02:38 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,368

Rep: Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395
There are loaders for both windows and linux. There are boot managers for both. Some can do both.

To start with, we might need to know exactly how you installed kubuntu. If you installed it from windows we need to know that.
 
Old 07-03-2013, 03:54 PM   #5
Tom_ZeCat
LQ Newbie
 
Registered: May 2008
Location: Omaha, Nebraska
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
There are loaders for both windows and linux. There are boot managers for both. Some can do both.

To start with, we might need to know exactly how you installed kubuntu. If you installed it from windows we need to know that.
I used the Gparted live boot disk to take space from the one physical drive the laptop has and to create available space that Kubuntu could use. I then ran the Kubuntu install program, choosing "manual" and used it to create partitions. The whole process, including screen shots, is documented here:

http://www.kubuntuforums.net/showthr...d=1#post330775

However, since that thread, I tried again. I used Gparted to wipe out all the Linux partitions. Then I installed Ubuntu (13.04), opting for the "side by side" option that is designed to create all your partitions for you and set up the dual boot for you (or so I thought). I ended up with a similar situation where the computer would simply boot up to Windows 7 without offering to let you choose anything else. Like before, the OS apparently was on the PC. You could boot to the K/ubuntu live disk and see it all there.

When I used the Easy BCD tool, I was able to create a menu that came up offering Windows or Linux. If you chose Windows, Win 7 would boot up just fine. If you chose Linux, you would not get Kubuntu (or later Ubuntu when I tried that). Instead, you would get a command line named Grub4DOS.

The option I chose in Easy BCD was "Grub2". That's what both Kubuntu and Ubuntu 13.04 use, right?

Later another utility trashed the system. Not a disaster. I have this thing ghosted. That ghost is being restored as I type this. So pretty soon I'll have my Lenovo laptop back as just a Windows 7 PC with no other OS installed. I'll be able to proceed any way I see fit. It seems to me maybe I should be concentrating on learning how to edit Grub2 with a Windows 7 and a Kubuntu entry, right? Or would I be better off learning how to accomplish this via the Windows boot loader?

Both times, Kubuntu or Ubuntu apparently installed and was there waiting to run, but I just could not access it. I've found a Grub2 tutorial video here:
http://www.youtube.com/watch?v=TDf_fRAophc
However, that one does not show you how to put in a Windows 7 entry.

Or would I be better off trying to do this with the Windows bootloader?

If anyone knows of any relevant Grub and/or Windows bootloader articles or tutorials that I should be reading, I will definitely read them.
 
Old 07-04-2013, 01:24 PM   #6
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,667

Rep: Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730
Grub2 tutorials, the first one specific to Ubuntu and derivatives with explanation of installing, reinstalling by different methods:

https://help.ubuntu.com/community/Grub2/Installing

http://www.howtogeek.com/114884/how-...ntu-wont-boot/

http://www.dedoimedo.com/computers/grub-2.html

Using Grub2 will be easier. If you can't get EasyBCD to work, I think you would need to somehow manually configure whatever the boot files windows 7 uses. If this is a new computer with a warranty, that is probably the best if not only reason to use a windows bootloader. A sample entry for windows with Grub2 which worked for me shown below. You would need to change the uuid after set=root to whatever it is on your machine:

Quote:
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root A0A03A5CA03A395C
chainloader +1
The entro below should also work:

Quote:
menuentry 'windows' {
insmod ntfs
set root=(hd0,1)
chainloader +1
}
If you have one hard drive and selected the option under: Device for boot loader installation as '/dev/sda' it should have installed part of the Grub files to the mbr and given you the option to boot either Ubuntu or windows.
 
Old 07-04-2013, 02:55 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,368

Rep: Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395
I'd have used Windows to resize for linux.

Ubuntu normally doesn't mess up the install so I am still wondering what is wrong.


Did you boot to the Linux cd/dvd to start install?

Last edited by jefro; 07-04-2013 at 07:29 PM.
 
Old 07-04-2013, 04:42 PM   #8
Tom_ZeCat
LQ Newbie
 
Registered: May 2008
Location: Omaha, Nebraska
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
I have used Windows to resize for linux.

Ubuntu normally doesn't mess up the install so I am still wondering what is wrong.


Did you boot to the Linux cd/dvd to start install?
The problem is now solved. Turns out this Lenovo laptop has an obnoxious EFI boot system that resists allowing any operating system to install other than the Windows Home Premium that it came with. Nice one, Lenovo. Anyway, I found the blog of a guy who owns the exact same model and was going through the same problems as mine. He documented all his solutions here:

http://jacobfogg.blogspot.com/2012/0...novo-z570.html

Problem solved! I'm online now in Linux.
 
Old 07-04-2013, 07:30 PM   #9
jefro
Guru
 
Registered: Mar 2008
Posts: 11,368

Rep: Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395
Thanks for the update and solution.


I would have thought that both uefi and secure boot would have not been an issue with Ubuntu 13. Some live cd's say some choice on boot option like dvd drive efi and some exact dvd drive normal choice.

Last edited by jefro; 07-04-2013 at 07:31 PM.
 
  


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
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
Getting MEPIS to remember wireless settings at boot davros81 Linux - Wireless Networking 2 02-09-2007 10:22 AM
Get LILO to remember last boot option underberg Linux - General 9 03-30-2005 04:27 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot utility? gammonaholic Linux - Software 3 05-09-2003 11:59 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration