Peppermint | Linux OS Community Forum
 
It is currently Tue Sep 17, 2019 10:33 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 5:03 pm 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
Hi, I recently installed Ubuntu to my old netbook which was running Windows, and i installed that from a flash drive. It gave me the option to install Ubuntu alongside Windows, which I didn't want. Now I have just Ubuntu and want to install Peppermint Two to my netbook alongside it, but it doesn't give me the option to do so, and I know that it should do, it says so on the online guide at the Peppermint website, that it will detect if i have any other operating systems installed, but it doesn't. Does this mean I have to do it manually, by partitioning? Or am I doing something seriously wrong? Please help, any replies are greatly appreciated :) thankyou!


Top
 Profile  
 
 

 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 5:17 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Boot into Ubuntu or the Peppermint LiveCD/LiveUSb.

Then open a terminal and run:
Code:
sudo fdisk -l

and post the output back here.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 6:01 pm 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
PCNetSpec wrote:
Boot into Ubuntu or the Peppermint LiveCD/LiveUSb.

Then open a terminal and run:
Code:
sudo fdisk -l

and post the output back here.


In both Ubuntu and the Peppermint LiveUSB, they both say it's an 'invalid option' and tell me the correct usage for fdisk.


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 6:16 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Are you entering it correctly ?
(there are NO numbers in that command .. it's a lower case L)

For clarity

SUDO FDISK -L

But it MUST be all lower case.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 6:46 pm 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
PCNetSpec wrote:
Are you entering it correctly ?
(there are NO numbers in that command .. it's a lower case L)

For clarity

SUDO FDISK -L

But it MUST be all lower case.


Oops :/ I typed in sudo fdisk -1 not sudo fdisk -l
I'll try again


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 6:49 pm 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
PCNetSpec wrote:
Boot into Ubuntu or the Peppermint LiveCD/LiveUSb.

Then open a terminal and run:
Code:
sudo fdisk -l

and post the output back here.


Wow. This was my output:
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x0002e711

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   312580095   156039169    5  Extended
/dev/sda5          501760   312580095   156039168   83  Linux

Disk /dev/sdb: 1031 MB, 1031798272 bytes
255 heads, 63 sectors/track, 125 cylinders, total 2015231 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/sdb1   *          63     2015180     1007559    c  W95 FAT32 (LBA)

Disk /dev/mapper/sda5_crypt: 159.8 GB, 159782010880 bytes
255 heads, 63 sectors/track, 19425 cylinders, total 312074240 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

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

Disk /dev/mapper/ubuntu-root: 158.7 GB, 158712463360 bytes
255 heads, 63 sectors/track, 19295 cylinders, total 309985280 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

Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table

Disk /dev/mapper/ubuntu-swap_1: 1065 MB, 1065353216 bytes
255 heads, 63 sectors/track, 129 cylinders, total 2080768 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

Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Mon Apr 08, 2013 7:14 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, would I be right in assuming you have a separate /boot partition

then everything else set up using LVM and full encryption ?

The Peppermint (or any other installer) will not be able to resize an encrypted volume .. how could it if it can't read it ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Tue Apr 09, 2013 6:09 am 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
PCNetSpec wrote:
OK, would I be right in assuming you have a separate /boot partition

then everything else set up using LVM and full encryption ?

The Peppermint (or any other installer) will not be able to resize an encrypted volume .. how could it if it can't read it ?

Yes, I did encrypt Ubuntu, does that make it harder? When on the Peppermint LiveUSB when browsing for files it says there's a 255MB disk and a 160GB encrypted disk, which I assumed was Ubuntu but when i typed the encryption passphrase in it said 'not a mountable disk' I'm not sure if i have a seperate /boot partition, I haven't done the partitioning myself!


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Tue Apr 09, 2013 6:33 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
YES having LUKS/LVM full disk encryption makes it a LOT harder to resize the partitions .. see here:
https://help.ubuntu.com/community/Resiz ... Partitions

We can have a go if you'd like .. but I must add there's a risk of loosing everything .. so be SURE to backup what you can't afford to loose first.

Is this a laptop or a desktop ? .. if a desktop, it may be easier just to add another HDD for Peppermint, and use the Ubuntu bootloader to boot it.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Problem with dual booting Peppermint Two and Ubuntu
PostPosted: Tue Apr 09, 2013 7:17 am 
Offline

Joined: Mon Apr 08, 2013 4:46 pm
Posts: 13
PCNetSpec wrote:
YES having LUKS/LVM full disk encryption makes it a LOT harder to resize the partitions .. see here:
https://help.ubuntu.com/community/Resiz ... Partitions

We can have a go if you'd like .. but I must add there's a risk of loosing everything .. so be SURE to backup what you can't afford to loose first.

Is this a laptop or a desktop ? .. if a desktop, it may be easier just to add another HDD for Peppermint, and use the Ubuntu bootloader to boot it.

It's a netbook, so yes laptop basically. Would it be easier to back up all my files from Ubuntu, install Peppermint normally (overwriting Ubuntu) and then install ubuntu again? Because resizing encryped partitions looks mega-mega-difficult and knowing me i'll probably accidentally blow up my computer or something stupid :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL