Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Getting dual-boot to work?
New Posts  All Forums:Forum Nav:

Getting dual-boot to work?

post #1 of 27
Thread Starter 
I recently installed Linux Mint (14) alongside Windows 7. However, on startup I am getting sent directly to the Linux Mint login, and I was under the impression that is should be possible to boot one or the other OS on startup.
Code:
sudo os-prober
returns nothing, and
Code:
sudo update-grub
only gets me:
Quote:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
done

Any ideas?
post #2 of 27
You have to install os-prober ( it isn't something you run standalone ) so;
Code:
# apt-get install os-prober

then update grub
Code:
# update-grub

If all else fails edit it in manually;
Code:
# nano /etc/grub.d/40_custom

And update the config again
Code:
# update-grub
post #3 of 27
Lets try starting from scratch here,
Code:
sudo apt-get purge grub
Code:
sudo apt-get purge grub2
Code:
sudo apt-get install grub2
Code:
sudo update-grub

Let me know how that goes.
Big Black Guy
(15 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-4100 ASUS Crosshair V Formula-Z Sapphire Raedon HD 6670 G.Skil Ripjaws-X 
Hard DriveHard DriveHard DriveHard Drive
WD Black WD Blue  Seagate 7200RPM Kingston HyperX 3k 
Optical DriveCoolingOSMonitor
LG Noctua NH-D14 Windows 7 Ultimate x64 Dell 2408WFP 24" 
MonitorPowerCase
Soniq 32" Antec TruePower 550W NZXT Switch 810 
  hide details  
Reply
Big Black Guy
(15 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-4100 ASUS Crosshair V Formula-Z Sapphire Raedon HD 6670 G.Skil Ripjaws-X 
Hard DriveHard DriveHard DriveHard Drive
WD Black WD Blue  Seagate 7200RPM Kingston HyperX 3k 
Optical DriveCoolingOSMonitor
LG Noctua NH-D14 Windows 7 Ultimate x64 Dell 2408WFP 24" 
MonitorPowerCase
Soniq 32" Antec TruePower 550W NZXT Switch 810 
  hide details  
Reply
post #4 of 27
Quote:
Originally Posted by Shrak View Post

You have to install os-prober ( it isn't something you run standalone ) so;]

Isnt os-proper installed as a dependency of grub? It should be
Big Black Guy
(15 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-4100 ASUS Crosshair V Formula-Z Sapphire Raedon HD 6670 G.Skil Ripjaws-X 
Hard DriveHard DriveHard DriveHard Drive
WD Black WD Blue  Seagate 7200RPM Kingston HyperX 3k 
Optical DriveCoolingOSMonitor
LG Noctua NH-D14 Windows 7 Ultimate x64 Dell 2408WFP 24" 
MonitorPowerCase
Soniq 32" Antec TruePower 550W NZXT Switch 810 
  hide details  
Reply
Big Black Guy
(15 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX-4100 ASUS Crosshair V Formula-Z Sapphire Raedon HD 6670 G.Skil Ripjaws-X 
Hard DriveHard DriveHard DriveHard Drive
WD Black WD Blue  Seagate 7200RPM Kingston HyperX 3k 
Optical DriveCoolingOSMonitor
LG Noctua NH-D14 Windows 7 Ultimate x64 Dell 2408WFP 24" 
MonitorPowerCase
Soniq 32" Antec TruePower 550W NZXT Switch 810 
  hide details  
Reply
post #5 of 27
Quote:
Originally Posted by trust-no-1 View Post

Isnt os-proper installed as a dependency of grub? It should be

No. It isn't needed unless you plan to dual boot. Dependencies are required for a program to run, os-prober only adds functionality. Or rather, makes it easier, as it can be done manually via more grub commands.
post #6 of 27
Which os did you install first?
Nasty Girl
(17 items)
 
  
CPUMotherboardGraphicsRAM
I5-760  Evga P55 FTW200 2 x Evga GTX 570 SC GSkill Eco 
Hard DriveHard DriveOptical DriveCooling
Gkill Phoenix Pro SSD Samsung Spinpoint F3 LG Super-multi BDROM Cooler Master V8 
CoolingOSMonitorKeyboard
3 Enermax Magmas + Scythe Kaze Master Controller Windows 7 Professional LG Flatron 2241 LED 22" Razer BWU 
PowerCaseMouseMouse Pad
Corsair HX750 Antec Sonata Solo ||  Razer Deathadder Mionix Propus 360 
Audio
Creative X-Fi Titanium 
  hide details  
Reply
Nasty Girl
(17 items)
 
  
CPUMotherboardGraphicsRAM
I5-760  Evga P55 FTW200 2 x Evga GTX 570 SC GSkill Eco 
Hard DriveHard DriveOptical DriveCooling
Gkill Phoenix Pro SSD Samsung Spinpoint F3 LG Super-multi BDROM Cooler Master V8 
CoolingOSMonitorKeyboard
3 Enermax Magmas + Scythe Kaze Master Controller Windows 7 Professional LG Flatron 2241 LED 22" Razer BWU 
PowerCaseMouseMouse Pad
Corsair HX750 Antec Sonata Solo ||  Razer Deathadder Mionix Propus 360 
Audio
Creative X-Fi Titanium 
  hide details  
Reply
post #7 of 27
Quote:
Originally Posted by Hatfieco View Post

Which os did you install first?

Obviously Windows was installed first. As per the wording of installing Mint alongside Windows and not the other way around. Also it boots directly to his Mint install, which means grub was installed after the Windows bootloader, and overwriting it.
post #8 of 27
Thread Starter 
Quote:
Originally Posted by Hatfieco View Post

Which os did you install first?
Windows 7.
Quote:
Originally Posted by Shrak View Post

You have to install os-prober ( it isn't something you run standalone ) so;
Code:
# apt-get install os-prober

then update grub
Code:
# update-grub

If all else fails edit it in manually;
Code:
# nano /etc/grub.d/40_custom

And update the config again
Code:
# update-grub
Terminal says that my os-prober is already at the newest version.
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
os-prober is already the newest version.

update-grub just got me the same message as before:
Quote:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
done
post #9 of 27
You sure you installed it next to Windows and didn't overwrite Windows?

Post the output of;
Code:
# fdisk -l
post #10 of 27
Thread Starter 
I can still see all the folders and data in the Windows partition via /, under Devices.

Result:
Quote:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x6d5972ee

Device Boot Start End Blocks Id System
/dev/sda1 1 2930277167 1465138583+ ee GPT

Disk /dev/mapper/cryptswap1: 8191 MB, 8191992320 bytes
255 heads, 63 sectors/track, 995 cylinders, total 15999985 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: 0xe1ad63ed

Disk /dev/mapper/cryptswap1 doesn't contain a valid partition table

Hmmm, that doesn't look good.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Getting dual-boot to work?