PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 02:57:57 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Lost GRUB After WIN 7 Install  (Read 1007 times)
terdog1
New Friend
*
Offline Offline

Posts: 6


« on: October 27, 2010, 01:31:28 PM »

Am taking a new job and needed to get familiar with Windows 7, so I installed an evaluation copy on my system which already had XP dual booting with PCLinuxOS, (most recent version).  After the install, a Win 7 bootloader appeared and "Earlier Version of Windows" was the only other choice.  I have a Knoppix CD and would like to know how/if I can boot from it to restore my Grub bootloader so I can again boot to PCLinuxOS, XP and Win 7.  I would like to boot into XP by default until I become more familiar with PCLinuxOS.  Appreciate your help!!  Thanks!  Terri

edit: title changed to mixed case to conform with 'no shouting' rule.
Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: October 27, 2010, 01:34:39 PM »

Yup Microsoft are terrible for seeing/using other boot loaders - It's always suggested to install PCLinuxOS last and Grub will usually pick everything up.

You could try using a PCLinuxOS LiveCD and run the Redo MBR app

Its in Main KMenu >> More Applications > Configuration >
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
genomega
Sr. Member
****
Offline Offline

Posts: 329


WWW
« Reply #2 on: October 27, 2010, 09:17:01 PM »

Indeed; Redo MBR  is your friend.
Logged
terdog1
New Friend
*
Offline Offline

Posts: 6


« Reply #3 on: October 29, 2010, 12:21:56 PM »

Thanks for the suggestions!!  I loaded PCLinuxOS live CD and ran thru the options to redo mbr.  The Windows 7 bootloader bcdedit still controls the boot process. 

I was able to edit the menu via Easy BCD in Windows7 to allow XP to boot as default, which it wasn't doing previously.  When I attempted to add PCLinuxOS to the boot menu in this program I was not sure about the correct syntax path and it failed to boot, altho it did show in the menu.

My hard drive is divided into 5 partitions as follows:C: with XP, D:Data  E:PC LinuxOS  F:Linux Swap  H:Win 7   C:, E: and H: are primary partitions.

It appears bcdedit is changing a sector that GRUB can't/didn't access.  Will attempt to point GRUB to the Win 7 partition (not sure what sda it is) and rerun redo mbr.

Any other thoughts???

Thanks!
Terri
Logged
pow2k10
New Friend
*
Offline Offline

Posts: 2


« Reply #4 on: November 04, 2010, 07:55:26 AM »

Depending on how confident you are at messing with partion you should be able to mark the PCLOS partition as the active partion through DISKPART on your win 7 machine.

from memory, you can select the partition that has the PCLOS and should boot into there.  Under the control centre you can then create a bootloader.

This should then install GRUB on the MBR and you should have a dual boot system.

Cheers,

Jai
Logged
macemm
PCLinuxOS Tester
Full Member
*******
Offline Offline

Posts: 171


« Reply #5 on: November 04, 2010, 08:29:50 AM »

@terdog1

Quote
My hard drive is divided into 5 partitions as follows:C: with XP, D:Data  E:PC LinuxOS  F:Linux Swap  H:Win 7   C:, E: and H: are primary partitions.

It appears bcdedit is changing a sector that GRUB can't/didn't access.  Will attempt to point GRUB to the Win 7 partition (not sure what sda it is) and rerun redo mbr.

At the moment I am just guessing - since you didn't describe what you did with the options presented to you from redo mbr application - that you ought to have installed grub to /dev/sda

Even if grub didn't pick up either of the windows installations that can easily be rectified once you are back in PCLinuxOS.

It would be helpful though before commencing any more operations to post the contents of these command from your live-cd session.

Please post the command you used as well as the output. Copy and paste from the terminal into your post.

Do as root from terminal. if you are in the live-cd you already know the password is root

fdisk -l [that is a lowercase l and not the figure 1]

example

Code:
[root@localhost ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x18000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          10       80293+   6  FAT16
/dev/sda2   *          11        1504    11999232    7  HPFS/NTFS
/dev/sda3            1504       62441   489476096    7  HPFS/NTFS
/dev/sda4           62441       84698   178779447    5  Extended
/dev/sda5           62441       62705     2117632   82  Linux swap / Solaris
/dev/sda6           62705       74433    94206976   83  Linux
/dev/sda7           74434       84698    82453581   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa7d43d72

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1      121602   976761824+   7  HPFS/NTFS


next command

blkid

example

Code:
[root@localhost ~]# blkid
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07DA-091B" TYPE="vfat"
/dev/sda5: LABEL="swap2000" UUID="82cf8c0e-bd15-4c00-8fa4-e8e24112483d" TYPE="swap"
/dev/sda6: LABEL="pclos2010" UUID="d374aa3e-6da1-436a-ba54-045f0ee5850c" TYPE="ext4"
/dev/sda2: UUID="92DC677ADC67578D" LABEL="RECOVERY" TYPE="ntfs"
/dev/sda3: UUID="28206A162069EAF0" LABEL="OS" TYPE="ntfs"
/dev/sda7: LABEL="minime2010" UUID="ef338c13-e42f-4d9f-832f-eaa86577ab21" TYPE="ext4"
/dev/sdb1: UUID="10991830680120AB" LABEL="usb-primus" TYPE="ntfs"

That will give a better idea of how things look through *nix eyes.

It'll give you something to do that will be non-destructive (but no fun!) in the meantime,

Hugh
Logged

Dell Inspiron 560;
Intel® Pentium® Dual Core E5500(2.80GHz,800MHz,2MB);
4GB DDR3;
Nvidia GeForce 310;
ST2320L 23-inch Full HD WLED Widescreen Monitor (VGA, DVI-D and HDMI)
kernel-3.2.18-pclos1.bfs
marian
Hero Member
*****
Offline Offline

Posts: 609


Hi


« Reply #6 on: November 04, 2010, 09:36:16 AM »

Thanks for the suggestions!!  I loaded PCLinuxOS live CD and ran thru the options to redo mbr.  The Windows 7 bootloader bcdedit still controls the boot process.  

I was able to edit the menu via Easy BCD in Windows7 to allow XP to boot as default, which it wasn't doing previously.  When I attempted to add PCLinuxOS to the boot menu in this program I was not sure about the correct syntax path and it failed to boot, altho it did show in the menu.

My hard drive is divided into 5 partitions as follows:C: with XP, D:Data  E:PC LinuxOS  F:Linux Swap  H:Win 7   C:, E: and H: are primary partitions.

It appears bcdedit is changing a sector that GRUB can't/didn't access.  Will attempt to point GRUB to the Win 7 partition (not sure what sda it is) and rerun redo mbr.

Any other thoughts???

Thanks!
Terri

I don't think so. The question is where did you install GRUB, on first sector of disk (MBR) or first sector of boot partition.
Logged

Freedom is the only way!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM