Removing Mint 16 and installing Peppermint 5 as well as Mint 17

Hi, everyone

At the moment I have Mint 17 and 16 installed to dual boot on my Asus netbook but want to delete 16 and install Peppermint 5 alongside 17.

When I installed 17 I opted for the option that said it would use the entire disk and delete two partitions or words to that effect.

However, after installation of 17 Mint 16 was still there!!

Can anyone tell me how to delete 16 so that I can install Peppermint 5 to dual boot with 17, please?

Many thanks.

You do not have to delete Mint 16, you can re-use the partitions.
To give us a idea of the HDD layout could you please post the result of (that is lower-case L):

sudo fdisk -l 

Hi SeZo

As requested.
doug@doug-1000 ~ $ sudo fdisk -l
[sudo] password for doug:

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders, total 15761088 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: 0x0005dc88

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 13682687 6840320 83 Linux
/dev/sda2 13684734 15759359 1037313 5 Extended
/dev/sda5 13684736 15759359 1037312 82 Linux swap / Solaris

Disk /dev/sdb: 32.3 GB, 32279224320 bytes
255 heads, 63 sectors/track, 3924 cylinders, total 63045360 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: 0x000142fd

Device Boot Start End Blocks Id System
/dev/sdb1 63 33584941 16792439+ 83 Linux
/dev/sdb2 33585150 63043583 14729217 5 Extended
/dev/sdb5 33585152 60964863 13689856 83 Linux
/dev/sdb6 60966912 63043583 1038336 82 Linux swap / Solaris
doug@doug-1000 ~ $

I know you said I don’t need to delete 16 but I have no use for it and just want P5 and Mint 17 so would be happy to get rid of 16 if possible.

Thanks for your interest.

Can you boot your PC to Mint 17, then post the contents of:-

gedit /etc/fstab

and

gedit /boot/grub/grub.cfg

if gedit isn’t your text editor, substitute gedit in those two commands with whatever your text editor is

/etc/fstab: static file system information.

Use ‘blkid’ to print the universally unique identifier for a

device; this may be used with UUID= as a more robust way to name devices

that works even if disks are added and removed. See fstab(5).

/ was on /dev/sda1 during installation

UUID=20b8bb11-b91f-4f4c-97ab-8e8389ce785d / ext4 errors=remount-ro 0 1

swap was on /dev/sda5 during installation

UUID=17bc2c9d-2fa3-4758-9ca1-afd5c767d2de none swap sw 0 0

DO NOT EDIT THIS FILE

It is automatically generated by grub-mkconfig using templates

from /etc/grub.d and settings from /etc/default/grub

BEGIN /etc/grub.d/00_header

if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ “${next_entry}” ] ; then
set default=“${next_entry}”
set next_entry=
save_env next_entry
set boot_once=true
else
set default=“0”
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option=“–id”
else
menuentry_id_option=“”
fi

export menuentry_id_option

if [ “${prev_saved_entry}” ]; then
set saved_entry=“${prev_saved_entry}”
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry=“${chosen}”
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n “${have_grubenv}” ]; then if [ -z “${boot_once}” ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root=‘hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
else
search --no-floppy --fs-uuid --set=root 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
fi
font=“/usr/share/grub/unicode.pf2”
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_output gfxterm
if [ “${recordfail}” = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10

Fallback normal timeout code in case the timeout_style feature is

unavailable.

else
set timeout=10
fi
fi

END /etc/grub.d/00_header

BEGIN /etc/grub.d/05_debian_theme

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

END /etc/grub.d/05_debian_theme

BEGIN /etc/grub.d/06_mint_theme

set menu_color_normal=white/black
set menu_color_highlight=white/light-gray

END /etc/grub.d/06_mint_theme

BEGIN /etc/grub.d/10_linux

function gfxmode {
set gfxpayload=“$1”
if [ “$1” = “keep” ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ “$linux_gfx_mode” != “text” ]; then load_video; fi
menuentry ‘Linux Mint 17 Xfce 32-bit, 3.13.0-24-generic (/dev/sda1)’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
else
search --no-floppy --fs-uuid --set=root 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=20b8bb11-b91f-4f4c-97ab-8e8389ce785d ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-24-generic
}
menuentry ‘Linux Mint 17 Xfce 32-bit, 3.13.0-24-generic (/dev/sda1) – recovery mode’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root=‘hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
else
search --no-floppy --fs-uuid --set=root 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
fi
echo ‘Loading Linux 3.13.0-24-generic …’
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=20b8bb11-b91f-4f4c-97ab-8e8389ce785d ro recovery nomodeset
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-3.13.0-24-generic
}

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/10_lupin

END /etc/grub.d/10_lupin

BEGIN /etc/grub.d/20_linux_xen

END /etc/grub.d/20_linux_xen

BEGIN /etc/grub.d/20_memtest86+

menuentry ‘Memory test (memtest86+)’ {
insmod part_msdos
insmod ext2
set root=‘hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
else
search --no-floppy --fs-uuid --set=root 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
fi
knetbsd /boot/memtest86+.elf
}
menuentry ‘Memory test (memtest86+, serial console 115200)’ {
insmod part_msdos
insmod ext2
set root=‘hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
else
search --no-floppy --fs-uuid --set=root 20b8bb11-b91f-4f4c-97ab-8e8389ce785d
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}

END /etc/grub.d/20_memtest86+

BEGIN /etc/grub.d/30_os-prober

menuentry ‘Linux Mint 16 Petra (16) (on /dev/sdb5)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-simple-0ac7bd2a-3fd5-4928-b784-fe82d2b1867b’ {
insmod part_msdos
insmod ext2
set root=‘hd1,msdos5’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
else
search --no-floppy --fs-uuid --set=root 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
fi
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=0ac7bd2a-3fd5-4928-b784-fe82d2b1867b ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.11.0-12-generic
}
submenu ‘Advanced options for Linux Mint 16 Petra (16) (on /dev/sdb5)’ $menuentry_id_option ‘osprober-gnulinux-advanced-0ac7bd2a-3fd5-4928-b784-fe82d2b1867b’ {
menuentry ‘Linux Mint 16 Xfce 32-bit, 3.11.0-12-generic (/dev/sdb5) (on /dev/sdb5)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-3.11.0-12-generic–0ac7bd2a-3fd5-4928-b784-fe82d2b1867b’ {
insmod part_msdos
insmod ext2
set root=‘hd1,msdos5’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
else
search --no-floppy --fs-uuid --set=root 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
fi
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=0ac7bd2a-3fd5-4928-b784-fe82d2b1867b ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.11.0-12-generic
}
menuentry ‘Linux Mint 16 Xfce 32-bit, 3.11.0-12-generic (/dev/sdb5) – recovery mode (on /dev/sdb5)’ --class gnu-linux --class gnu --class os $menuentry_id_option ‘osprober-gnulinux-/boot/vmlinuz-3.11.0-12-generic-root=UUID=0ac7bd2a-3fd5-4928-b784-fe82d2b1867b ro recovery nomodeset-0ac7bd2a-3fd5-4928-b784-fe82d2b1867b’ {
insmod part_msdos
insmod ext2
set root=‘hd1,msdos5’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
else
search --no-floppy --fs-uuid --set=root 0ac7bd2a-3fd5-4928-b784-fe82d2b1867b
fi
linux /boot/vmlinuz-3.11.0-12-generic root=UUID=0ac7bd2a-3fd5-4928-b784-fe82d2b1867b ro recovery nomodeset
initrd /boot/initrd.img-3.11.0-12-generic
}
}

set timeout_style=menu
if [ “${timeout}” = 0 ]; then
set timeout=10
fi

END /etc/grub.d/30_os-prober

BEGIN /etc/grub.d/30_uefi-firmware

END /etc/grub.d/30_uefi-firmware

BEGIN /etc/grub.d/40_custom

This file provides an easy way to add custom menu entries. Simply type the

menu entries you want to add after this comment. Be careful not to change

the ‘exec tail’ line above.

END /etc/grub.d/40_custom

BEGIN /etc/grub.d/41_custom

if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi

END /etc/grub.d/41_custom

Hi, Mark

Hope this is what you wanted to see?

Regards,

Doug.

OK, Mint 17 appears to be on /dev/sda

are you sure there’s nothing on the second hard drive you want to keep ?
(including whatever is on /dev/sdb1)

and do you want to give the whole of the second hard drive to Peppermint 5 ?

Hi. Mark

I’m happy to lose 16 and replace it with P5 there’s nothing in documents or pictures etc. so I have no problem losing 16.

I only use this netbook for internet browsing so nothing is going to be saved to the HDD.

I confess I don’t understand the split of the partitions and am even more puzzled as to why Mint 16 wasn’t deleted when I installed 17.

I just want to have 17 and P5 50/50 if poss. but whatever it doesn’t really matter on the HDD and be rid of 16 and if you can guide me through
that I would be very grateful.

Best wishes,

Doug.

P5 works well when I try it as a live cd and as you may recall I put it on two of my friends laptops both working well. :slight_smile:

If this is a netbook, havse you got an external hard drive ?

I’m a bit baffled why you appear to have 2 hard drives.

Hi, Mark

Not as baffled as I am!!! :slight_smile:

I don’t have any external HDD and as far as I know this netbook has just a 40gig SSD.

What size are the drives and is it a problem for you?

Cheers,

Doug

I thought the ASUS EeePC 1000 40GB (Linux preloaded) came with 2 drives
8GB SSD & 32 GB HDD. Now I just need to find where did I get that info.

You could find out for yourselves:

sudo hdparm -I /dev/sda | grep Media

and

sudo hdparm -I /dev/sdb | grep Media

See if returns the disk rotation (or lack of)

Ahh … that could explain a lot :o

So has Mint17 only got 8GB space total ?

In Mint 17, what’s the output from:

df -h

doug@doug-1000 ~ $ sudo hdparm -I /dev/sda | grep Media
[sudo] password for doug:
doug@doug-1000 ~ $ sudo hdparm -I /dev/sdb | grep Media
doug@doug-1000 ~ $

Hi. SeZo

You may be right I bought the netbook from a guy on Ebay so there’s no manual but I was led to believe it just had a 40gig SSD.

I’ve takenthe back off but can only see one drive which I assume is the SS drive.

If you are correct that would I imagine explain why 16 wasn’t removed presumably?

Cheers, Doug

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.3G 4.1G 2.0G 68% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 483M 4.0K 483M 1% /dev
tmpfs 100M 1.3M 98M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 497M 80K 496M 1% /run/shm
none 100M 12K 100M 1% /run/user

Hope this helps.

Cheers

Doug

OK, that did not return as expected.
Try

cat /sys/block/sda/queue/rotational

and

cat /sys/block/sdb/queue/rotational

You should get 0 for a SSD and 1 for hard disks.

Hmm … my AA1’s SSD returns “1” :-\

[EDIT]

Looks like you’re right though … Mint 17 is installed on the 8GB drive and sdb doesn;t seem to be being used at all.

@cicero

It would be easy enough to wipe sdb and install Peppermint there, but you’ll soon run out of room in Mint 17 with your current setup.

doug@doug-1000 ~ $ cat /sys/block/sda/queue/rotational
1
doug@doug-1000 ~ $ cat /sys/block/sdb/queue/rotational
1

Hi, SeZo

Hope this makes sense.

Hi, Mark

I would be happy to have P5 installed wherever is suitable as for M17 would I run out of space even though I don’t save anything to the hdd as I said the netbook is just used for internet browsing? I’m happy to take your advice and go with whatever you suggest.

What would be helpful is for me to understand how to install/uninstall in the future in case I wanted to update or change one or other of the OS.

Cheers.

Have not tested with my AA1 but in my desktop with 1 SSD and 2 HDDs it correctly identifies the SSD :o

@cicero
You could get the model number of the disks:

sudo hdparm -I /dev/sda | grep Model

and

sudo hdparm -I /dev/sdb | grep Model

then Google it to see more info

You might intend to not use Mint for anything other than browsing but as it is quite a big install to start with (see below)

/dev/sda1 6.3G [b]4.1G[/b] 2.0G 68% /

This could grow as you do updates, install new applications etc…
Without GOOD housekeeping you will run out of space, sooner than you think.
One other option is to remove the swap partition and use the whole 8GB as your root /
You could always put the swap partition onto /dev/sdb if you think you need it.

doug@doug-1000 ~ $ sudo hdparm -I /dev/sda | grep Model
[sudo] password for doug:
Model Number: ASUS-PHISON SSD
doug@doug-1000 ~ $ sudo hdparm -I /dev/sdb | grep Model
Model Number: ASUS-PHISON SSD
doug@doug-1000 ~ $

Output as requested.

Cheers.

OK, looks like 2 x SSD, which makes sense I suppose as I’ve never seen a 32GB HDD (doesn’t mean there aren’t any, just that I haven’t seen one as far as I can remember).

Anyway, what to do :-\

If you’re happy with Mint as it is, and are much more likely to be using Peppermint then by far the easiest route would be to just wipe sdb and install Peppermint there.

But if you want to equally divide things become a lot more complicated … ie. what do you do with the 8GB drive ?

I suppose you could have /boot on the 8GB and Mints /home (if you’re never going to have much in it … then give say 10GB of sdb for Mints / and the rest to Peppermint … but this would mean wiping Mint too and would leave slightly more room for making a mistake during installation.

I’m at a bit of a crossroads about what to advise … I suppose the questions have to be
a) Are you happy to leave Mint with limited space, and likely have it fail to boot at some point (fairly easily fixed)
b) How confident do you feel about a more complex install
c) do you want to reinstall Mint too

See the problem is I think 40GB may just about be enough space for 2 distros, but only if it’s easily divided in half … the fact that there’s a forced 8GB / 32GB divide makes things more complicated.

Another way would be to use sda as just /boot and /swp … but that kinda wastes room too

If you’re unlikely to use Mint much, I’d say give the full 32GB to Peppermint and leave Mint how it is.
If on the other hand you’re likely to use Mint more, I’d give the full 32GB to Mint and bung Peppermint in the 8GB (it’s smaller than Mint)

I dunno what to suggest as “best”.