Choose style:

Author Topic: [RESOLVED]On duel boot, have lost Linux boot-up options since re-installing Win7  (Read 1618 times)

0 Members and 1 Guest are viewing this topic.

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Seasons Greetings to all  :D

Today I reinstalled Win7 to my SSD as it's been 2.5 years and it was getting cluttered.

I deleted the old Win 7 partition, recreated a new one in that space, and reinstalled Win 7 into it.

However, I have now lost the ability to boot into Peppermint which I used to be able to do (I had a duel-boot system here).

Can any one help advise how I make Peppermint accessible again? Its partition is still there (I believe, as I haven't deleted it).

Thanks in advance  :P
« Last Edit: January 02, 2015, 07:14:40 am by mattosensei »

Offline rjm65

  • Veteran
  • ****
  • Posts: 1004
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: On duel boot, have lost Linux boot-up options since re-installing Win7
« Reply #1 on: December 29, 2014, 12:48:34 pm »
Not sure exactly how but you are going to have to reinstall grub, because windows 7 re wrote your MBR..  someone will be along shortly to help you I am sure... 
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: On duel boot, have lost Linux boot-up options since re-installing Win7
« Reply #2 on: December 29, 2014, 01:23:49 pm »
Boot to a Peppermint 5 LiveCD/LiveUSB and post the output from:
Code: [Select]
sudo fdisk -l
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Re: On duel boot, have lost Linux boot-up options since re-installing Win7
« Reply #3 on: December 29, 2014, 06:04:41 pm »
Hi Mark!  :)

Code: [Select]
peppermint@peppermint ~ $ sudo fdisk -l

Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0x4cb31ef1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   181698559    90745856    7  HPFS/NTFS/exFAT
/dev/sda3       181700606   250068991    34184193    5  Extended
/dev/sda5       240863232   250068991     4602880   82  Linux swap / Solaris

Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders, total 398297088 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: 0xd4a0fe34

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   398295039   199147488+   7  HPFS/NTFS/exFAT

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x55776776

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048  1953521663   976759808    7  HPFS/NTFS/exFAT

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


Disk /dev/sdd: 4009 MB, 4009754624 bytes
124 heads, 62 sectors/track, 1018 cylinders, total 7831552 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: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *          34     5119999     2559983    c  W95 FAT32 (LBA)
/dev/sdd4               1          33          16+  ee  GPT

Partition table entries are not in disk order
peppermint@peppermint ~ $

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26290
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: On duel boot, have lost Linux boot-up options since re-installing Win7
« Reply #4 on: December 31, 2014, 08:31:03 pm »
You don't appear to have any Linux partitions (besides a swap partition), so it looks like you installed Windows over Peppermint
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Re: On duel boot, have lost Linux boot-up options since re-installing Win7
« Reply #5 on: January 02, 2015, 07:09:43 am »
You don't appear to have any Linux partitions (besides a swap partition), so it looks like you installed Windows over Peppermint

Hmm odd, as that doesn't appear to be the case. The 120GB SSD had been partitioned to 80GB Windows and 40GB Linux and that was still the case when I reinstalled Windows (i.e. it went into the 80GB partition). Not sure how the Linux partition got wiped but not end of world as had no docs saved in there (all docs were backed up). Unless somehow accidentally wiped the whole drive, rather than just the Windows partition (and yet, the partitions stayed intact? Didn't think that could happen  ::) ). I also do (generally speaking!) know the difference between partitions so would have been careful NOT to have done that.

Anyway, I bought a new drive over Christmas (1TB WD Blue) for my Steam games so the new setup is: Win7 on the SSD, Steam and all doc storage on the WD Blue 1TB, and I will use the (very) old 190 GB Maxtor drive for Linux only (to be installed). I do enjoy Linux but for gaming, I'm needing to use Win7 as primary.

Thanks for taking a look!   ;D
« Last Edit: January 02, 2015, 07:13:35 am by mattosensei »