Choose style:

Author Topic: BIg issues with dual boot  (Read 2578 times)

0 Members and 1 Guest are viewing this topic.

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
BIg issues with dual boot
« on: March 18, 2015, 05:24:41 am »
HI i just new on linux, I've tried to install peppermint in a pc (from a CD) alongside with xp home edition, in the install options i've changed the partition giving to xp 20 Gb and to peppermint 60Gb, the problem is when the install was finished it never give me the chance to choose wich OS I want to start with, the installation went well , i supose, the disk is partitionated, but there is no way to choose how to boot please help!

 

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5329
  • Karma: 945
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: BIg issues with dual boot
« Reply #1 on: March 18, 2015, 07:11:37 am »
When I (used to) dual-boot Linux & winders, I would always install winders first, then install Linux second.  This usually makes the process much easier.

The other thing I would do is have the winders install 'hide' the Linux partitions in Grub - and the Linux install 'hide' the winders partitions.  This step isn't absolutely necessary (and is quite contrived) but it makes for a bullet-proof Linux/winders dual-boot machine.

EDIT

I'm running short on time, right now, but...

You might check this thread out, while I'm AFK:  http://forums.anandtech.com/showthread.php?t=2088399
« Last Edit: March 18, 2015, 07:19:54 am by VinDSL, Reason: Addendum »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: BIg issues with dual boot
« Reply #2 on: March 18, 2015, 07:17:28 am »
Hi Richtofen, open a terminal window with the following keystrokes: Ctrl+Alt+t.  In the terminal window, enter the following commands and post back the outputs.
Code: [Select]
inxi -F
Hit enter.  Copy and paste the output, encapsulating it with the # Insert Code function. Now enter this command:
Code: [Select]
sudo fdisk -l
Hit enter.  Enter your user password when asked and hit enter again.  Copy and paste this output, using again the, # Insert Code function.

Note: For enhanced security, passwords are entered invisibly.  There is NO indication of any user input.  You may enter an incorrect password 3 times before you have to repeat the action you are trying to apply.

Please noteWindows XP is no longer supported.  It receives NO security updates and is therefore extremely insecure to use.  Using it, SERIOUSLY puts your data at risk.  It is also vulnerable to third party exploitation and therefore puts others at risk too.  My advice is, cease using it as soon as possible.  I cannot emphasise this more strongly.  I hope this helps - good luck  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
Re: BIg issues with dual boot
« Reply #3 on: March 18, 2015, 09:06:11 am »
Hi Richtofen, open a terminal window with the following keystrokes: Ctrl+Alt+t.  In the terminal window, enter the following commands and post back the outputs.
Code: [Select]
inxi -F
Hit enter.  Copy and paste the output, encapsulating it with the # Insert Code function. Now enter this command:
Code: [Select]
sudo fdisk -l
Hit enter.  Enter your user password when asked and hit enter again.  Copy and paste this output, using again the, # Insert Code function.

Note: For enhanced security, passwords are entered invisibly.  There is NO indication of any user input.  You may enter an incorrect password 3 times before you have to repeat the action you are trying to apply.

Please noteWindows XP is no longer supported.  It receives NO security updates and is therefore extremely insecure to use.  Using it, SERIOUSLY puts your data at risk.  It is also vulnerable to third party exploitation and therefore puts others at risk too.  My advice is, cease using it as soon as possible.  I cannot emphasise this more strongly.  I hope this helps - good luck  ;).


Thanks AndyInMokum iI think i forgot to say that the computer only starts with XP i got not acces to peppermint thats the real issue ,  it still working on XP and i can't get to peppermint....

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1780
  • Karma: 470
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: BIg issues with dual boot
« Reply #4 on: March 18, 2015, 10:39:57 am »
Hi Richtofen,


During your installation of P5: do you remember how you installed the GRUB bootloader? If so, could you tell us what you did? You might just need to (re)install GRUB from your installation medium (e.g. as described in this article) ... or just do a complete reinstall.


Regards,


-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: BIg issues with dual boot
« Reply #5 on: March 18, 2015, 10:43:46 am »
Hi Richtofen, boot up Peppermint Five using your Live installation media.  Once the live session is running, follow the instructions from my previous post.  I strongly advise against making a dual boot system with Windows XP. I reiterate - Windows XP is no longer supported.  It is dead and no longer secure!  You are much better off either wiping your drive and just install Peppermint Five or, if you must have Windows.  Install Windows 7 first and then Peppermint Five.  Running Windows XP if it is connected to the internet is just plain reckless  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: BIg issues with dual boot
« Reply #6 on: March 18, 2015, 12:24:31 pm »
Its a simple matter to reinstall GRUB to the MBR, but nobody can give you precise instructions unless you post the output Andy has requested.

Please boot to your LiveCD .. connect to your router via eiter an ethernet cable or wirelessly) and post the output from the commands:
Code: [Select]
inxi -F
and more importantly:
Code: [Select]
sudo fdisk -l

I also concur with Andy as far as running XP .. if you need it for some arcane piece of software, fine .. but it should most definitely have networking disable.
It's not just your PC that you're risking by using XP online .. at some point it WILL become part of a botnet used to attack others.
« Last Edit: March 18, 2015, 12:28:05 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
Re: BIg issues with dual boot
« Reply #7 on: March 18, 2015, 02:04:37 pm »
ok guys thats the ouput that gets out after i use the commands you told me I hope this may help



Code: [Select]
peppermint@peppermint ~ $ inxi -f
CPU:       Single core Intel Celeron CPU (-UP-) cache: 256 KB clocked at 2672.792 MHz
           CPU Flags: acpi apic bts cid clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dts
           fpu fxsr ht lm mca mce mmx monitor msr mtrr nx pae pat pbe pebs pge pni pse pse36 sep
           ss sse sse2 tm tm2 tsc vme xtpr
peppermint@peppermint ~ $ sudo fdisk -l
Code: [Select]
Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 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: 0x03b14a5e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    38494431    19247184+   7  HPFS/NTFS/exFAT
/dev/sda2        38496254   160086015    60794881    5  Extended
/dev/sda5        38496256   159172607    60338176   83  Linux
/dev/sda6       159174656   160086015      455680   82  Linux swap / Solaris
peppermint@peppermint ~ $


« Last Edit: March 18, 2015, 02:11:04 pm by AndyInMokum »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: BIg issues with dual boot
« Reply #8 on: March 18, 2015, 02:20:16 pm »
From the LiveCD run:
Code: [Select]
sudo mount /dev/sda5 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
Now hit Ctrl+D to exit the chroot environment .. then reboot to the HDD to test.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
Re: BIg issues with dual boot
« Reply #9 on: March 18, 2015, 03:44:38 pm »
 :( :( Nothing it stops here

for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
peppermint@peppermint ~ $ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
peppermint@peppermint ~ $


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: BIg issues with dual boot
« Reply #10 on: March 18, 2015, 04:25:02 pm »
OK, let's try it a different way .. boot to the LiveCD, then run these commands in sequence
Code: [Select]
sudo mount /dev/sda5 /mnt
then
Code: [Select]
sudo grub-install --boot-directory=/mnt/boot /dev/sda
then reboot to the hard drive.

Rebooting to the hard drive should immediately boot you into Peppermint .. once in Peppermint, open a terminal and run:
Code: [Select]
sudo update-grub
now reboot to see if you're offered both OS's
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
Re: BIg issues with dual boot
« Reply #11 on: March 18, 2015, 05:19:23 pm »
ok we are one step further, I guess, now i havent got peppermint after the reboot yet but i got the grub terminal anything i can do from here ??

« Last Edit: March 18, 2015, 05:32:28 pm by Richtofen »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: BIg issues with dual boot
« Reply #12 on: March 18, 2015, 05:39:39 pm »
OK, I'm beginning to think Peppermint didn't get installed properly

If I were you I'd boot to the LiveCD, then use GParted to delete these partitions (in this order)
/dev/sda6
then
/dev/sda5
then
/dev/sda2

Once they're deleted leaving unpartitioned space after the Windows partition, reinstall Peppermint electing to install it in the free space.

Hint:-

If Gparted won't let you delete sda6, right click on sda6 and select "Swapoff" .. you should then be able to delete it.

If Gparted won't let you delete sda5, right click on sda5 and select "Unmount" .. you should then be able to delete it.

DO NOT under any circumstances delete sda1 .. that's your windows partition.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Richtofen

  • nOOb
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): peppermint five
Re: BIg issues with dual boot
« Reply #13 on: March 18, 2015, 06:31:41 pm »
Thanks  PCNetSpec, and everyone else, at this point i decided to get rid definitly of XP and give a new life to my old PC Thanks for your advices and i'll be pestering all of you very soon with new issues :D
greetings from Italy

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: BIg issues with dual boot
« Reply #14 on: March 18, 2015, 06:35:08 pm »
You're most welcome :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec