LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help for dualbooting (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-for-dualbooting-4175507144/)

lordlucifer 06-05-2014 12:14 PM

Need help for dualbooting
 
As suggested by LQ buddies ,I tried several distros.
And I finally came up with Ubuntu 14.04 LTS and linux mint mate.
Now the problem is that I have already got a dual booted laptop with linpus lite and windows 7.And
I want to Uninstall Linpus Lite and Install Ubuntu in its place.ANOTHER THING I WANT TO ASK IS THAT CAN MORE THAN TWO OS BE INSTALLED.
So can anyone tell me how to uninstall linpus lite and install ubuntu and mint along with windows.

Every reply matters

nisargshah95 06-05-2014 12:23 PM

1. Yes, you can install any number of operating systems you want on your laptop.
2. If you want to remove Linpus and install Ubuntu, then during Ubuntu installation select the partition with Linpus installed and install Ubuntu on it. This will erase any data on Linpus partition (so you may want to backup any important data you have on that partition) and install Ubuntu on it.
3. If you also want to install Linux Mint alongside Windows and Ubuntu, then simply create a new partition (using any partition manager from Windows), format the partition containing Linpus, split it into two partitions onto which you will install Ubuntu and Linux Mint and then go forward and install Ubuntu and Linux Mint of the respective partitions.

WARNING: You may lose your GRUB (bootloader) if you simply format the Linpus partition and then try to access Windows after rebooting, although installing Ubuntu will probably rewrite the MBR and will detect Windows automatically and add its entry to GRUB.

brianL 06-05-2014 01:08 PM

More than two? Yeah, 145:
http://forums.justlinux.com/showthre...ystems-in-a-PC

lordlucifer 06-06-2014 02:12 AM

Quote:

Originally Posted by nisargshah95 (Post 5183007)
1. Yes, you can install any number of operating systems you want on your laptop.
2. If you want to remove Linpus and install Ubuntu, then during Ubuntu installation select the partition with Linpus installed and install Ubuntu on it. This will erase any data on Linpus partition (so you may want to backup any important data you have on that partition) and install Ubuntu on it.
3. If you also want to install Linux Mint alongside Windows and Ubuntu, then simply create a new partition (using any partition manager from Windows), format the partition containing Linpus, split it into two partitions onto which you will install Ubuntu and Linux Mint and then go forward and install Ubuntu and Linux Mint of the respective partitions.

WARNING: You may lose your GRUB (bootloader) if you simply format the Linpus partition and then try to access Windows after rebooting, although installing Ubuntu will probably rewrite the MBR and will detect Windows automatically and add its entry to GRUB.

Thanks for your reply. But I do not know where the linpus lite directory is ? I have two partitions i,e C and D. In the C ,It has windows stuffs and the D contains my things. I searched through windows to find linpus lite Directory.But could not find it.I also
tried in Bios and the same thing happened.
Now Can you say me How to find linpus lite installation directory ?

brianL 06-06-2014 03:00 AM

It won't be in a directory, it will be on another partition. As nisargshah95 mentioned in post #2. You'll see it when you boot up your Ubuntu or Mint CDs or DVDs. Then you'll be able to delete Linpus when you get to the partitioning stage during installation of either Ubuntu or Mint.

lordlucifer 06-06-2014 10:09 AM

Quote:

Originally Posted by brianL (Post 5183407)
It won't be in a directory, it will be on another partition. As nisargshah95 mentioned in post #2. You'll see it when you boot up your Ubuntu or Mint CDs or DVDs. Then you'll be able to delete Linpus when you get to the partitioning stage during installation of either Ubuntu or Mint.

yeh man ,you are right.When I booted ubuntu in a live usb ,I saw 4 partitions rather than 2
as I usually see in windows.Is windows hiding data from me ? The two hided partitions were 22 gb and 1gb respectively.How can I
see these partitions on windows and how do I chose which partition to select for the installation of ubuntu ?
Waiting for your response

Soadyheid 06-06-2014 10:56 AM

Windows doesn't acknowledge that there are any other OS' in the whole wide World so It can't see the Linux partitions.

Boot your Ubuntu or Mint live CD and find GParted then use it to do the partitioning. You can actually install it to memory using Synaptic or whatever during the live session if you can't find it within your loaded CD distro.

You'll need to use it to shrink the Windows partition then split the freed off space to create two others for Ubuntu & Mint.

Play Bonny!

:hattip:

EDDY1 06-06-2014 02:42 PM

Since you have the ubuntu cd open gparted & remove the ext partitions, don't touch the fat or ntfs partitions as windows will be on them.
Then install to "largest Contiguous Free Space"

jamison20000e 06-06-2014 02:55 PM

Quote:

Originally Posted by brianL (Post 5183034)

Ha... that blows away my:
http://www.linuxquestions.org/questi...ove-%3B-99.jpg DEs tho think I've had 6 distros more if you count VMs. :D

EDDY1 06-06-2014 04:09 PM

That is an old thread which at 1 time was possible but the OP states in hisast update that the installers can't do it now because of the change from ide to sata drives.

jamison20000e 06-06-2014 04:25 PM

Way, way back when I ran microcoughed-windblow$ as an OS I use to get a kick out of running multiple VMs http://1.bp.blogspot.com/-Blc5bVeblg.../untitled4.bmp
now if I have to for school or such it's the other way around and not as much fun, boooo m$! ;)
[img=http://s28.postimg.org/vuelq9xwp/snapshot3.jpg]

Edit\add; Currently:
Code:

#
# 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
set default="0"

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 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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
else
  search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
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_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
else
  search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-00312bf4-6b34-4966-a2e2-1b7f2b35f4d0' {
        load_video
        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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
        else
          search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
        fi
        echo        'Loading Linux 3.2.0-4-amd64 ...'
        linux        /boot/vmlinuz-3.2.0-4-amd64 root=UUID=00312bf4-6b34-4966-a2e2-1b7f2b35f4d0 ro  quiet
        echo        'Loading initial ramdisk ...'
        initrd        /boot/initrd.img-3.2.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-00312bf4-6b34-4966-a2e2-1b7f2b35f4d0' {
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-amd64-advanced-00312bf4-6b34-4966-a2e2-1b7f2b35f4d0' {
                load_video
                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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
                else
                  search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
                fi
                echo        'Loading Linux 3.2.0-4-amd64 ...'
                linux        /boot/vmlinuz-3.2.0-4-amd64 root=UUID=00312bf4-6b34-4966-a2e2-1b7f2b35f4d0 ro  quiet
                echo        'Loading initial ramdisk ...'
                initrd        /boot/initrd.img-3.2.0-4-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-amd64-recovery-00312bf4-6b34-4966-a2e2-1b7f2b35f4d0' {
                load_video
                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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
                else
                  search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
                fi
                echo        'Loading Linux 3.2.0-4-amd64 ...'
                linux        /boot/vmlinuz-3.2.0-4-amd64 root=UUID=00312bf4-6b34-4966-a2e2-1b7f2b35f4d0 ro single
                echo        'Loading initial ramdisk ...'
                initrd        /boot/initrd.img-3.2.0-4-amd64
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/22_invaders ###
menuentry "GRUB Invaders" {
        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 --hint='hd0,msdos1'  00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
        else
          search --no-floppy --fs-uuid --set=root 00312bf4-6b34-4966-a2e2-1b7f2b35f4d0
        fi
        multiboot        /boot/invaders.exec
}
### END /etc/grub.d/22_invaders ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Slackware Linux (Slackware 14.1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
        else
          search --no-floppy --fs-uuid --set=root ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
        fi
        linux /boot/vmlinuz root=/dev/sda3
}
submenu 'Advanced options for Slackware Linux (Slackware 14.1)' $menuentry_id_option 'osprober-gnulinux-advanced-ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
        menuentry 'Slackware Linux (Slackware 14.1) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                else
                  search --no-floppy --fs-uuid --set=root ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                fi
                linux /boot/vmlinuz root=/dev/sda3
        }
        menuentry 'Slackware Linux (Slackware 14.1) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                else
                  search --no-floppy --fs-uuid --set=root ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                fi
                linux /boot/vmlinuz root=/dev/sda3
        }
        menuentry 'Slackware Linux (Slackware 14.1) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-3.10.17--ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                else
                  search --no-floppy --fs-uuid --set=root ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                fi
                linux /boot/vmlinuz-generic-3.10.17 root=/dev/sda3
        }
        menuentry 'Slackware Linux (Slackware 14.1) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-3.10.17--ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9' {
                insmod part_msdos
                insmod ext2
                set root='hd0,msdos3'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                else
                  search --no-floppy --fs-uuid --set=root ec3f9d5a-ca04-4488-95fc-d3ecb2cf8ad9
                fi
                linux /boot/vmlinuz-huge-3.10.17 root=/dev/sda3
        }
}

### 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 ###

from /boot/grub.cfg

Install one plus GRUB leaving free-space then install others without GRUB (unless it automatically detects and say it's safe otherwise) then in the first OS do:
Code:

sudo update-grub
if not detected then edit in /etc/grub.d or according to distro... :D
Quote:

Originally Posted by lordlucifer (Post 5183572)
yeh man ,you are right.When I booted ubuntu in a live usb ,I saw 4 partitions rather than 2
as I usually see in windows.Is windows hiding data from me ? The two hided partitions were 22 gb and 1gb respectively.How can I
see these partitions on windows and how do I chose which partition to select for the installation of ubuntu ?
Waiting for your response

You can tell by the size or mount them in Linux and see content also:
Code:

df -h
usually first install is HDA1\SDA1\Etc and so on...

jross 06-06-2014 06:44 PM

I am new to linux also. I installed xubuntu 14.04 along side windows xp in a dual boot.

So, you are getting experienced people answering the question *you* asked. I thought from the perspective of a newbie, I would just throw out an idea, considering you have a bit of a difficult situation since you now have to manually remove your current linux: For now, pick the one you like the most between ubuntu and Mint Mate and then just install that one.

If you want to try that, post back and update your situation so people can then guide you step by step for that, which I think would be a lot easier for you (when you have more experience, you can then try the triple boot). FWIW, my impression would be the Mint Mate would be a lot easier to adjust to coming from windows than regular ubuntu (that's why I chose Xubuntu, also because of older machine).


All times are GMT -5. The time now is 05:42 PM.