Page 1 of 2 12 LastLast
Results 1 to 16 of 28

Thread: Learning to clean install dualboot W10 & kodibuntu

  1. #1
    Senior Member
    Join Date
    Feb 2016
    Location
    Somerset
    Posts
    1,112
    Thanks
    84
    Thanked
    137 times in 110 posts
    • wazzickle's system
      • Motherboard:
      • Asus H470M-itx
      • CPU:
      • i5 10500
      • Memory:
      • 16Gb DDR4 HyperX Fury
      • Storage:
      • Barracuda 510 1TB M.2, WD Blue 2TB
      • Graphics card(s):
      • Zotac 3070 Twin Edge
      • PSU:
      • Corsair SFX 600
      • Case:
      • Ghost S1 V2
      • Operating System:
      • W10
      • Monitor(s):
      • LG IPS 27" 144Hz QHD
      • Internet:
      • three4g & nighthawk MR1100

    Learning to clean install dualboot W10 & kodibuntu

    Hi guys. I just built this machine.

    Everything lights up fine and I'm into the BIOS which is exciting. Before I do anything else though, I want to learn a bit so that I set things up well for the future.

    The machine is intended to serve primarily as an HTPC and in the future as a workhorse for business/coding, with the potential for gaming down the line (left an expansion slot open). As such I'd like to partition the SSD and be able to dual-boot into W10 Pro and kodibuntu (or other suitable HTPC OS). Problem is I don't know much about ubuntu/linux at all (know very little about coding also!). Best info I can find is a seven-year old guide to dual-booting W7 with ubuntu (on lifehacker.com) which could end up being useful but I wanted to ask the community if anyone had any tips or links or relevant experience before I do anything else.

    Thanks in advance for your help!

  2. #2
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: Learning to clean install dualboot W10 & kodibuntu

    I would watch out for 'lifehacker', the information is rarely as useful as it seems on the surface.

    In most cases what people do these days is actually use the UEFI to select which drive is the boot drive and just install onto two separate hard drives/SSDs... obviously you cant do that with a partitioned drive to my knowledge but its certainly the nicest way of doing it IMO.

    If you are dual booting linux and windows, you need to decide which one you want to manage the boot selection. IIRC, if you install windows first there is an option on the Kodibuntu set up that automatically sets all this up for you.

  3. #3
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    As an alternative, consider running Ubuntu as the base system, then running Windows in a virtual machine. You then have the option of running both operating systems simultaneously.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  4. #4
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,039
    Thanks
    1,880
    Thanked
    3,379 times in 2,716 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by peterb View Post
    As an alternative, consider running Ubuntu as the base system, then running Windows in a virtual machine. You then have the option of running both operating systems simultaneously.
    Or vice versa, which given the potential gaming requirement in the future might be a better use of resources. We've tried both linux on windows and windows on linux and we find at the moment the former works better overall.

  5. #5
    Senior Member
    Join Date
    Jul 2009
    Location
    West Sussex
    Posts
    1,722
    Thanks
    199
    Thanked
    243 times in 223 posts
    • kompukare's system
      • Motherboard:
      • Asus P8Z77-V LX
      • CPU:
      • Intel i5-3570K
      • Memory:
      • 4 x 8GB DDR3
      • Storage:
      • Samsung 850 EVo 500GB | Corsair MP510 960GB | 2 x WD 4TB spinners
      • Graphics card(s):
      • Sappihre R7 260X 1GB (sic)
      • PSU:
      • Antec 650 Gold TruePower (Seasonic)
      • Case:
      • Aerocool DS 200 (silenced, 53.6 litres)l)
      • Operating System:
      • Windows 10-64
      • Monitor(s):
      • 2 x ViewSonic 27" 1440p

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by Biscuit View Post
    In most cases what people do these days is actually use the UEFI to select which drive is the boot drive and just install onto two separate hard drives/SSDs... obviously you cant do that with a partitioned drive to my knowledge but its certainly the nicest way of doing it IMO.
    Actually, the boot menu (usually either F12 or F8 after POST) does work for partitions on some recent boards. Saw this on a Gigabyte B150 M. Even with just one drive it let you pick a specific partition to boot from. Since by default Windows 10 insists on loading all the way up and then lets you pick another OS just before log-in, hitting the boot menu isn't actually any slower.

    Anyway, in all cases the trick is to install the Linux bootsector only to the partition where Linux has been installed to. In the case of using the BIOS's boot menu it should pick that up.
    Otherwise if you want Windows to load it, you have to use dd to copy the bootsector and then place it where Windows' bootloader can see it. The dd commandn will look something like this
    sudo dd if=/dev/sda3 of=./Desktop/linux.bin bs=512 count=1

    The filename 'linux.bin' can be whatever you want. The /dev/sda3 part needs to be changed to reflect the drive/partition you want.
    You run this just after installing your Linux. Then you need to copy your linux.bin file to somewhere where Windows can see. The best place is probably the 'Boot' folder the hidden 500MB partition Windows 7+ creates 'System Reserved'.

    Finally you need to tell Windows about this. You can use Microsoft's built-in BcdEdit program, or yyou can use VisualBCD from
    https://www.boyans.net/
    or EasyBCD from
    http://neosmart.net/EasyBCD/

    Anyway, if your mobo supports booting from actual partition (or if you are using separate physical drives), using the BIOS is easier. The only thing you loose is the ability to script which OS to start at the next boot.

  6. Received thanks from:

    Biscuit (01-04-2016)

  7. #6
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by kalniel View Post
    Or vice versa, which given the potential gaming requirement in the future might be a better use of resources. We've tried both linux on windows and windows on linux and we find at the moment the former works better overall.
    Windows can be tricky in. VM, usually with drivers for USB etc. I'm currently running VirtualBox on a Mac with both windows and Linux running in the virtual machine. Linux is much better behaved in the virtual environment than Windows, however that is not too much of a problem (for me) as I only run a couple of legacy applications, and it connects quite happily to an external file store.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  8. #7
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by peterb View Post
    Windows can be tricky in. VM, usually with drivers for USB etc. I'm currently running VirtualBox on a Mac with both windows and Linux running in the virtual machine. Linux is much better behaved in the virtual environment than Windows, however that is not too much of a problem (for me) as I only run a couple of legacy applications, and it connects quite happily to an external file store.

    I don't think that's down to Windows in a VM as I'm also running Windows in OSX but I'm using parallels, it handles it very well for everything I throw at it. I'm about to change to vmWare fusion as I'm sick of Parallels requiring a new (paid) version every time OSX has an upgrade.

  9. Received thanks from:

    peterb (01-04-2016)

  10. #8
    Senior Member
    Join Date
    Feb 2016
    Location
    Somerset
    Posts
    1,112
    Thanks
    84
    Thanked
    137 times in 110 posts
    • wazzickle's system
      • Motherboard:
      • Asus H470M-itx
      • CPU:
      • i5 10500
      • Memory:
      • 16Gb DDR4 HyperX Fury
      • Storage:
      • Barracuda 510 1TB M.2, WD Blue 2TB
      • Graphics card(s):
      • Zotac 3070 Twin Edge
      • PSU:
      • Corsair SFX 600
      • Case:
      • Ghost S1 V2
      • Operating System:
      • W10
      • Monitor(s):
      • LG IPS 27" 144Hz QHD
      • Internet:
      • three4g & nighthawk MR1100

    Re: Learning to clean install dualboot W10 & kodibuntu

    Not particularly opposed to the idea of a VM but don't they cost money and reduce performance significantly?

    In the meantime I'm running into a weird problem. Given up on kodibuntu for ubuntu but think the same roadblock is presenting in different ways. When I boot into ubuntu, without having installed, it tells me it can't find any versions of other any other operating systems, despite the fact that I'm posting from W10; when I try to install it on a partition, it's not happy (can't exactly remember the error message).

    Now my usb 3.1 stick, which previously read out as being 64gb capacity, is showing up in explorer as having only 2mb, most of it used, and disk management shows a 13mb unallocated space, 2mb allocated, and 57gb unallocated after that. The files on there are efi boot and grub etc but no amount of formatting will change it and I don't have the option to extend or anything.

  11. #9
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,039
    Thanks
    1,880
    Thanked
    3,379 times in 2,716 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by wazzickle View Post
    Not particularly opposed to the idea of a VM but don't they cost money and reduce performance significantly?
    Don't have to in either case.

  12. #10
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by Biscuit View Post
    I don't think that's down to Windows in a VM as I'm also running Windows in OSX but I'm using parallels, it handles it very well for everything I throw at it. I'm about to change to vmWare fusion as I'm sick of Parallels requiring a new (paid) version every time OSX has an upgrade.
    It may well be the VM application. I'm using VirtualBox which may be optimised for a *nix host. The limitations aren't particularly problematic for me though as I can load software by creating a mountable ISO file, or just through the network.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  13. #11
    Senior Member
    Join Date
    Feb 2016
    Location
    Somerset
    Posts
    1,112
    Thanks
    84
    Thanked
    137 times in 110 posts
    • wazzickle's system
      • Motherboard:
      • Asus H470M-itx
      • CPU:
      • i5 10500
      • Memory:
      • 16Gb DDR4 HyperX Fury
      • Storage:
      • Barracuda 510 1TB M.2, WD Blue 2TB
      • Graphics card(s):
      • Zotac 3070 Twin Edge
      • PSU:
      • Corsair SFX 600
      • Case:
      • Ghost S1 V2
      • Operating System:
      • W10
      • Monitor(s):
      • LG IPS 27" 144Hz QHD
      • Internet:
      • three4g & nighthawk MR1100

    Re: Learning to clean install dualboot W10 & kodibuntu

    Ugh I'm running into all sorts of problems. W10 disk management and gparted on ubuntu don't seem to be speaking the same language and it's got me into trouble. Should I post screenshots here or is there somewhere better? Anyone got any other forum recommendations?

  14. #12
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    I'm not really up to date with Windows boot loader, but the recommended method was to install Windows first, then install whatever flavour of *nix second.

    The reason for that was that the grub bootloader was far more aware of other operating systems and pretty much sorted itself out.

    Effectively the computer booted into GRUB, effectively a mini operating system with just one purpose - to launch whichever main operating system the user chose. This was fairly simple with a Master Boot Record type of boot. It is slightly more complicated with UEFI and GPT boot systems, but GRUB2 has evolved to rake of that too.

    NTFS has evolved since it was first introduced with Windows NT, but GPARTED has tended to keep up with that. *nix systems will read and write to NTFS file systems, with the appropriate drivers (readily available from various repositories) however the converse is not true, Windows will not read ext3/4 file systems directly.

    So you really need to install Windows first, leaving a large chink of your hard drive as unformatted and unallocated. Once you have got Windows running, then install your *nix distribution, using the unallocated portion of your hard drive. You then have two independent installations (on the same physical media) with a common boot loader that takes care of the booting process.

    Once you are comfortable with that set up, you can start to explore further to set up common file stores, default boot options etc.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  15. Received thanks from:

    wazzickle (04-04-2016)

  16. #13
    Super Moderator Jonj1611's Avatar
    Join Date
    Jun 2008
    Posts
    5,838
    Thanks
    1,879
    Thanked
    1,021 times in 783 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    Having installed Ubuntu recently on a Win 10 laptop, you can just install Win 10 and then use the installer for Ubuntu which will repartition the hard drive for you.

    Probably will need to make sure UEFI is running in legacy mode.
    Jon

  17. #14
    Senior Member
    Join Date
    Feb 2016
    Location
    Somerset
    Posts
    1,112
    Thanks
    84
    Thanked
    137 times in 110 posts
    • wazzickle's system
      • Motherboard:
      • Asus H470M-itx
      • CPU:
      • i5 10500
      • Memory:
      • 16Gb DDR4 HyperX Fury
      • Storage:
      • Barracuda 510 1TB M.2, WD Blue 2TB
      • Graphics card(s):
      • Zotac 3070 Twin Edge
      • PSU:
      • Corsair SFX 600
      • Case:
      • Ghost S1 V2
      • Operating System:
      • W10
      • Monitor(s):
      • LG IPS 27" 144Hz QHD
      • Internet:
      • three4g & nighthawk MR1100

    Re: Learning to clean install dualboot W10 & kodibuntu

    Was looking to have 3 partitions - one for windows OS, one for xubuntu and one for shared data, but gparted only let me shrink my windows partition, leaving me with only ~60gb for shared data where xubuntu only needs ~10? Hoping for a much bigger one but suspect I will have to start the whole protest (post W10 install) again.

    After a lifetime of only windows usage I feel like I'm down the rabbit hole when it comes to the range of stuff you can (and have to within linux) do with the command line. Linux is weird

  18. #15
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Learning to clean install dualboot W10 & kodibuntu

    Quote Originally Posted by wazzickle View Post
    Was looking to have 3 partitions - one for windows OS, one for xubuntu and one for shared data, but gparted only let me shrink my windows partition, leaving me with only ~60gb for shared data where xubuntu only needs ~10? Hoping for a much bigger one but suspect I will have to start the whole protest (post W10 install) again.

    After a lifetime of only windows usage I feel like I'm down the rabbit hole when it comes to the range of stuff you can (and have to within linux) do with the command line. Linux is weird
    No, it's just different. Once installed with a GUI, there is very little you have to do with a command line. Obviously command line offers much subtle commands, but for everyday use, it isn't usually necessary.

    One tip is to remember that everything is regarded as a file, whether it's a directory, file or physical device. Learning how Linux identifies devices and where it stores stuff is useful, but for general use it isn't really important.

    Devices like hard drives are usually identified as SDA, SDB (Special Device A, B etc) with partitions identified by number, eg SDA1, SDA2, bit as a user you don't write to a disk, you write to a file which happens to be on a disk.

    The root file system is designated as /. User directories will be found at /home/user_name but basically, the operating system and the GUI takes care of that for you. Where you do need to dig a bit deeper is when you are performing admin tasks, like adding new disk drives, or setting up logical volumes or RAID systems, but I don't think you'll be worrying too much about that (although some distributions do set up logical volumes by default, but again, that is transparent as a normal user)
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  19. Received thanks from:

    wazzickle (05-04-2016)

  20. #16
    Senior Member
    Join Date
    Feb 2016
    Location
    Somerset
    Posts
    1,112
    Thanks
    84
    Thanked
    137 times in 110 posts
    • wazzickle's system
      • Motherboard:
      • Asus H470M-itx
      • CPU:
      • i5 10500
      • Memory:
      • 16Gb DDR4 HyperX Fury
      • Storage:
      • Barracuda 510 1TB M.2, WD Blue 2TB
      • Graphics card(s):
      • Zotac 3070 Twin Edge
      • PSU:
      • Corsair SFX 600
      • Case:
      • Ghost S1 V2
      • Operating System:
      • W10
      • Monitor(s):
      • LG IPS 27" 144Hz QHD
      • Internet:
      • three4g & nighthawk MR1100

    Re: Learning to clean install dualboot W10 & kodibuntu

    Yeah I meant that I'm just used to gui and have done basically no command line stuff. Making progress on both understanding how this all works as well as getting the system set up but I'm struggling to work out how to resize the ubuntu partition and kodi remains weird.

    Thanks for all your help!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •