Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Problem with XP-Lubuntu dual boot, GRUB error
New Posts  All Forums:Forum Nav:

Problem with XP-Lubuntu dual boot, GRUB error

post #1 of 38
Thread Starter 
Hi all, Linux newbie here

I downloaded a Lubuntu 12.04 ISO (i386 Desktop) and I decided to dual boot it along with my XP installation. Yesterday I tried installing it with custom partition, The 1st partition is Windows XP NTFS (232 GB), I delete another (232GB) NTFS partition and create the /boot (500MB, primary), / (25GB), /home (220 GB) and swap (4GB). After it finish the installation, my comp reboot and a GRUB unknown partition error (grub rescue) shows up, I boot into Live CD and tried "boot-repair" recommended fix , no luck. So I reset the MBR back to Windows default and reformat the Linux partition back to NTFS.

Today, I decided to try install it again, this time, I tried custom partition without the /boot partition, after reboot, the GRUB error comes up again mad.gif, but this time it's partition not found error (grub rescue). I boot back to Live CD and I decided to left the installation to the default dual-boot partition (1st option). But the GRUB error comes up after reboot (again), same as the 2nd time, partition not found (grub rescue).

I got the boot-repair log here, only one though, The Lubuntu ISO md5 is the same as official md5
http://paste.ubuntu.com/1276973/

Help are greatly appreciated smile.gif
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
post #2 of 38
Try installing grub on your / or on your /boot partition.

This really is very wierd, but if it keeps happening, try using easyBCD on windows and just use the windows boot loader instead of grub. This will allow you to use hibernation on windows smile.gif
post #3 of 38
Thread Starter 
Quote:
Originally Posted by EduFurtado View Post

Try installing grub on your / or on your /boot partition.
This really is very wierd, but if it keeps happening, try using easyBCD on windows and just use the windows boot loader instead of grub. This will allow you to use hibernation on windows smile.gif

Alright, I will have a look into the EasyBCD, gonna try it tomorrow, pretty late now. BTW aren't grub always located at MBR? Will moving it to / or /boot bring any difference compared to normal installation?

If this problem persist I might just switch to other distro. Maybe it only happen on Lubuntu tongue.gif
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
post #4 of 38
No, it can be on the partitions. I suggested it because maybe windows is the bad guy in the story and there is a conflict in the MBR.

For instance, if you want to use easyBCD you would have to install grub on your linux boot partition, because easyBCD doesn't look for a linux install, it looks for a grub install.

I preffer using easyBCD to set up windows boot manager because I use hibernate a lot on my netbook, and it won't work with windows if it doesn't own the MBR.


I'm looking forward to seeing what is the cause of your problem. I'm guessing it has something to do with your windows still being XP.
post #5 of 38
Thread Starter 
I just reinstall with Grub on the / folder, currently the MBR is the Windows XP default one. Apparently the EasyBCD is meant for Vista and Win 7 only. What should I do now? Currently my system will boot automatically into Windows
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
post #6 of 38
Quote:
Originally Posted by CiX View Post

I just reinstall with Grub on the / folder, currently the MBR is the Windows XP default one. Apparently the EasyBCD is meant for Vista and Win 7 only. What should I do now? Currently my system will boot automatically into Windows

No, check again, you can run it in windows XP!

You need .NET 2.0 framework installed on XP as a prerequirement. (It's already part of Vista/7).
You can download it here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=79bc3b77-e02c-4ad3-aacf-a7633f706ba5&displaylang=en

You are very close to completing your problem, all you need to do is get easyBCD running biggrin.gif
post #7 of 38
Thread Starter 
Quote:
Originally Posted by EduFurtado View Post

No, check again, you can run it in windows XP!
You need .NET 2.0 framework installed on XP as a prerequirement. (It's already part of Vista/7).
You can download it here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=79bc3b77-e02c-4ad3-aacf-a7633f706ba5&displaylang=en
You are very close to completing your problem, all you need to do is get easyBCD running biggrin.gif
I got the NET 2.0 (SP2) installed, but everytime the program starts. an error message pops up. Most settings are greyed out too. It says there're no entries in the bootloader



Can you guide me on the EasyBCD?
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
post #8 of 38
Using easyBCD and the windows bootloader is a cop out - GRUB can easily cope, and many, many machines are running dual-boots like you intend.

The errors from the pastebin hint the problem at being with the partitioning, which is a bit worrying. Did you partition the drive in Windows or Linux? I'd suggest re-installing Lubuntu, and do the partitioning in the installer. Leave sda1 well alone, as that's your Windows install. Delete the others, and then recreate them in the installer, and let it finish. When it asks about GRUB, install it to the MBR (the installer should automatically add Windows to the boot menu, along with Lubuntu)
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
post #9 of 38
Thread Starter 
Quote:
Originally Posted by chemicalfan View Post

Using easyBCD and the windows bootloader is a cop out - GRUB can easily cope, and many, many machines are running dual-boots like you intend.
The errors from the pastebin hint the problem at being with the partitioning, which is a bit worrying. Did you partition the drive in Windows or Linux? I'd suggest re-installing Lubuntu, and do the partitioning in the installer. Leave sda1 well alone, as that's your Windows install. Delete the others, and then recreate them in the installer, and let it finish. When it asks about GRUB, install it to the MBR (the installer should automatically add Windows to the boot menu, along with Lubuntu)

I did partition the drive with the installer though, At first there are 2 partition, 1 Windows partition and 1 blank NTFS. During the installation, I delete the blank NTFS partition and create 1 root, 1 home and 1 swap. Lubuntu didn't ask me where to install the MBR like Debian, I believe the options is already at the installer partition tool section, which, in this case, left default (I believe the default option(sda, WD500GB) means to install GRUB on MBR). Is there anything I've done wrongly here?

EDIT: The options I mean is "Device for boot loader installation). The default option makes the installer install GRUB on MBR, right?


Thanks
Edited by CiX - 10/16/12 at 7:53am
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
Old One
(16 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 64 3000+ Gigabyte GA-K8N51 Sapphire Radeon HD5670 1.85GB 
Hard DriveOptical DriveCoolingCooling
Western Digital WD5000AADS Samsung Super WriteMaster DVD Stock heatsink 2x Arctic F12, 1x Papst 120mm @ 5V 
OSMonitorKeyboardPower
Windows Vista Viewsonic 19" 1680x1050 Generic EnLight 350W 
CaseMouseMouse PadAudio
Cooler Master Elite 335 Microsoft SideWinder X5 Cloth Pad Creative Soundblaster VX 5.1 
  hide details  
Reply
post #10 of 38
Yeah, that's write for the bootloader.

Why does it talk about /dev/mapper? What's the config of the physical discs on this system? I'd assumed this was a simple 1 HDD/SSD system?
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Problem with XP-Lubuntu dual boot, GRUB error