I am setting up my new hard drive.
-
@dlakelan alright thanks. i'd definitely rather be using gparted. honestly, i think last time i did this on windows i was so confused by diskmgmt i switched to the windows cli instead
-
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
@mcc I have never encountered or heard of issues related to cross-OS GPT use
-
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
@mcc It's been a while since I've had to deal with the problem, but as far as I can tell, GPT partitions and NTFS file systems created in Linux work perfectly in Windows. Linux can recognize pretty much any file system, but Windows only recognizes Microsoft file systems. GPT partitions are fine either way. So any time I want to partition a drive with separate partitions for Windows and Linux, I do it in Linux, usually with gparted.
-
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
@mcc@mastodon.social should be fine, though ntfs drivers exist for linux if you wanted to make the stuff in there
-
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
@mcc Windows Disk Management is a bit limited for creating partitions – it doesn't let you set an offset, and doesn't even let you set the partition type (but it does let you leave it unformatted).
diskpartcommand-line tool is much more capable, but the syntax is a bit annoying.I suggest you create everything in Linux, including formatting the partition to NTFS – I've never had any problems using such partitions from Windows (note, if you use command-line mkfs.ntfs, make sure you specify the
-fswitch, otherwise it'll zero the whole partition, which will take forever). -
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
@mcc I don't think Windows can distinguish how the GPT was created.
Anyway, what's your problem with partitioning it under Windows? I rarely do so, but I haven't had any problems so far. -
@mcc I don't think Windows can distinguish how the GPT was created.
Anyway, what's your problem with partitioning it under Windows? I rarely do so, but I haven't had any problems so far.@vojta001 i think the "disk management.msc" program is kinda oblique. i think it might actually be harder to use than diskparted. i do not feel 100% confident what the verbs will do and i like to be confident when reformatting disks. i do not feel certain that it will batch jobs and wait until i've given it all instructions like i know gparted does.
-
@dlakelan what's the benefit of doing this over just using LUKS with a blank passphrase?
-
I am setting up my new hard drive. I think I want to put a NTFS partition at the end of the drive and a Linux partition at the start of the drive. I assumed NTFS wants to be created by Windows, so I went into "Disk Management" and it's… mysterious. I guess what I want to do here is create one "blank partition" filling the non-NTFS bits and then one NTFS partition filling the rest?
Does ANYTHING on ANY OS care if the GPT is created by Windows, Linux, whatever?
*before performing any computer task* Hey, Mastodon‚ is this tool… haunted?
-
*before performing any computer task* Hey, Mastodon‚ is this tool… haunted?
@mcc I … really don't want to say anything definitive about relative hauntedness, but my experience with disk tools is that you want to just use the Linux stuff for everything. Microsoft has written just enough disk tooling that it works for Windows, because Windows is mostly ignorant of the existence of Linux. Linux, however, is keenly aware of Windows's existence at every moment, and thus even if the tools are missing some features or have some bugs, they have at least been a *little* tested
-
@mcc I … really don't want to say anything definitive about relative hauntedness, but my experience with disk tools is that you want to just use the Linux stuff for everything. Microsoft has written just enough disk tooling that it works for Windows, because Windows is mostly ignorant of the existence of Linux. Linux, however, is keenly aware of Windows's existence at every moment, and thus even if the tools are missing some features or have some bugs, they have at least been a *little* tested
@mcc if anyone else has more specific guidance or recent (<10 years, at least on Intel) experience, listen to them instead
-
@mcc I … really don't want to say anything definitive about relative hauntedness, but my experience with disk tools is that you want to just use the Linux stuff for everything. Microsoft has written just enough disk tooling that it works for Windows, because Windows is mostly ignorant of the existence of Linux. Linux, however, is keenly aware of Windows's existence at every moment, and thus even if the tools are missing some features or have some bugs, they have at least been a *little* tested
@glyph this matches what other people said and it's good to hear. everyone else said linux can even format your NTFS partition.
what i know is that for *BOOT* partitions windows gets angry if it can't create the partitions itself, but this is not a boot disk.
-
@glyph this matches what other people said and it's good to hear. everyone else said linux can even format your NTFS partition.
what i know is that for *BOOT* partitions windows gets angry if it can't create the partitions itself, but this is not a boot disk.
@mcc IIRC the windows boot-partition problem is that the Windows installer kinda sucks, and just expects to be able to create a bootable partition "in the flow" of doing other random stuff, and if it can't, then it gets mad; not that the partition has the "created by windows" magic flag but rather that it cannot happen "here, at the appropriate 'Time To Format The Disk' step". But of course there's a weird caveat for "a disk with Windows already installed"
-
*before performing any computer task* Hey, Mastodon‚ is this tool… haunted?
@mcc diskmgmt.msc is one hundred percent haunted. You want to use diskpart in an administrator-account cmd window instead.
-
@mcc diskmgmt.msc is one hundred percent haunted. You want to use diskpart in an administrator-account cmd window instead.
@mhoye okay. that was literally my initial impulse so i'm glad to have it validated.
-
@mcc IIRC the windows boot-partition problem is that the Windows installer kinda sucks, and just expects to be able to create a bootable partition "in the flow" of doing other random stuff, and if it can't, then it gets mad; not that the partition has the "created by windows" magic flag but rather that it cannot happen "here, at the appropriate 'Time To Format The Disk' step". But of course there's a weird caveat for "a disk with Windows already installed"
@glyph i have heard claims of windows just fuckin breaking grub if you install it second. don't know if that holds up to reality.
-
@glyph i have heard claims of windows just fuckin breaking grub if you install it second. don't know if that holds up to reality.
@mcc oh yeah it absolutely does that, because it doesn't believe grub exists. you're installing windows, which means you want windows to boot. if there is some detritus in the boot sector _obviously_ it would delete that
-
@mhoye okay. that was literally my initial impulse so i'm glad to have it validated.
@mcc Your instincts are correct.
-
@vojta001 i think the "disk management.msc" program is kinda oblique. i think it might actually be harder to use than diskparted. i do not feel 100% confident what the verbs will do and i like to be confident when reformatting disks. i do not feel certain that it will batch jobs and wait until i've given it all instructions like i know gparted does.
@mcc Yeah, I don't think it will batch any jobs. It's a pretty straightforward program.
Using tools you already know and trust is definitely a good idea, I was just wondering whether there is any gotcha with the windows utility I wasn't aware of yet. -
*before performing any computer task* Hey, Mastodon‚ is this tool… haunted?
@mcc "GPT's haunted."