2

I have two separate hard drives: C:\ with Windows 10 and D:\ with data. Now I want to make two partitions on D drive. One with 80GB for Ubuntu installation and other one with all data I have right now. I don't want to have dual boot screen at startup instead I want to optionally choose from which drive to boot. (By optional I mean pressing something like F10 button to choose drive without using grub.)

How can I perform such installation? Should I partition D drive in Windows and later install Ubuntu on that partition?

Most importantly I don't want to loose my data on D drive.

Output from sudo parted -l

Model: ATA HGST HTS541010A9 (scsi)
Disk /dev/sda: 1000GB

Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  106MB   105MB   primary  ntfs         boot
 2      106MB   1000GB  1000GB  primary  ntfs


Model: ATA PLEXTOR PX-128M5 (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  128GB  128GB  primary  ntfs

sdb is my C drive and sda is my D drive.

  • Are these really separate physical drives like sda, sdb or partitions like sda1, sda2, sda3 etc. Makes a big difference. Post this to confirm configuration. sudo parted -l from a terminal in Ubuntu live installer. Only safe way is the more advanced Something Else install option where you create & choose your partitions for Ubuntu. And good backups are required before doing anything. – oldfred Jan 30 '16 at 14:58
  • @oldfred Yes those are completely separated hard drives. I edited my post. I will try to post output of sudo parted -l in a moment. – user74207281 Jan 30 '16 at 15:20
  • @oldfred: I added output of sudo parted -l. Any suggestions? – user74207281 Jan 30 '16 at 18:53
  • Even though you say sdb is C: drive, it looks like its boot partition is on sda1. Windows when not installed to drive set as boot in BIOS installs its 100MB boot partition to drive set as boot. Best to immediately copy boot files to your main install, as backup. Use Windows to shrink sda2, and run chkdsk on your d: "drive". Then use only use Something else. Not really different than standard install with manual partitioning as you have a NTFS partition to not overwrite. askubuntu.com/questions/343268/… – oldfred Jan 30 '16 at 20:15
  • As you've never accepted an answer on this site before: If the answer below helped you, don't forget to click the grey at the left of its text, which means Yes, this answer is valid! ;-) – Fabby Feb 2 '16 at 0:19
0

Easy:

  1. Install Ubuntu according to the standard instructions
  2. When you come to item number 8, take advanced partitioning and set the grub boot drive to SDB in MBR mode
  3. continue a normal installation

Now, when you want to boot into Ubuntu, set the boot drive to /dev/sdb (probably PLEXTOR in your BIOS) and boot off there!

  • 1
    Well it actually was easy :) First I moved "System Reserved Partition" from sda to sdb. Then shrink sda to create free space for Ubuntu installation. Then created partitions from Ubuntu installer and set sda as boot drive and it works. Thanks for help. – user74207281 Feb 5 '16 at 16:49
  • Cool! Thanks for the acceptance! Your question upvoted! ;-) – Fabby Feb 5 '16 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.