GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/27936/Linux-Ubuntu-Dual-booting-horror/comment/327540/votes/up

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.96 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1832 …}
  +magazine: App\Entity\Magazine {#313
    +icon: Proxies\__CG__\App\Entity\Image {#294 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#321
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#285 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#281 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#270 …}
    +entries: Doctrine\ORM\PersistentCollection {#228 …}
    +posts: Doctrine\ORM\PersistentCollection {#186 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#248 …}
    +bans: Doctrine\ORM\PersistentCollection {#165 …}
    +reports: Doctrine\ORM\PersistentCollection {#151 …}
    +badges: Doctrine\ORM\PersistentCollection {#129 …}
    +logs: Doctrine\ORM\PersistentCollection {#119 …}
    +awards: Doctrine\ORM\PersistentCollection {#108 …}
    +categories: Doctrine\ORM\PersistentCollection {#95 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#322
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#316
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2476 …}
  +body: """
    > when I installed Ubuntu, it was installed on a partition (sda2) rather than a primary drive (sda)\n
    \n
    The exact meaning of the language in use is somewhat context dependent. It *is* technically possible to use a block device (e.g. `/dev/sda`) [[source](https://web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)] as a filesystem, but it is generally discouraged – afaik, this is generally because of compatibility reasons. As to the meaning of a statement that looks something like “Install Ubuntu to `/dev/sda`” this could be interpereted as essentially just rewriting the existing partition table that exists on that drive with a new one, where, for example, partition 1 (e.g. `/dev/sda1`) is for the boot partition, and partition 2 (e.g. `/dev/sda2`) is where Ubuntu lives. In that example, *technically* Ubuntu is only resides in `/dev/sda2`, but, for the whole installation process, the user can interpret it as essentially installing it all to `/dev/sda`.\n
    \n
    > I’ve read that when GRUB is installed, if it gets installed to /dev/sda2 rather than /dev/sda it can cause issues with dual booting as the BIOS will read in a sequential order, and it may miss a partition if it’s “far enough down the list”\n
    \n
    It’s worth understanding the boot process of a system (this is more taylored to an average Linux system, but can be generally applied, if one is careful):\n
    \n
    1. The machine powers on\n
    2. The BIOS chip on the motherboard comes to life, it gets copied into RAM, and the CPU starts executing it.\n
    3. It finds the first device in the BIOS boot list\n
    4. It looks at the first sector (512 bytes) of that drive (this *generally* only applies if the drive uses MBR, and can be a little bit different with GPT, but the general process is pretty much the same, afaik), which contain the location of the bootloader on that drive, and copies it to RAM at address `0x7C00`\n
    5. The bootloader (e.g. Grub) springs to life and it takes over the boot process from the BIOS\n
    6. In the case of your average linux installation, Grub will then initialize something called the “initramfs” which is sort of like an extremely small Linux OS that gets loaded into RAM\n
    7. Initramfs essentially bootstraps the actual Linux distro into booting – this is required as booting the desired Linux distro may depend on things that run on Linux which can’t exist before Linux is loaded (e.g. LVM’s, LUKS encryption, etc.).\n
    8. Now that the OS is loaded into ram, it boots, and the process is complete.\n
    \n
    So, back to your statement, the actual program of Grub could reside in `/dev/sda2`, but the “bootloader bootsrapping” program, which resides in the first 512 bytes of the disk, could be thought of as being installed to `/dev/sda`.\n
    \n
    [[source](https://web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)], [[source](https://web.archive.org/web/20231216084222/https://wiki.ubuntu.com/Initramfs)], [[source](https://web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)], [[source](https://web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/GUID_Partition_Table#Protective_MBR_(LBA_0))]\n
    \n
    > As another example, you may be in for some trouble if grubx.efi is installed on /dev/sda8 or something.\n
    \n
    The only real “hard” limit on the location of Grub is that, in the case of MBR, it *necessarily* must be located within the first 2.2 TB of the disk.\n
    \n
    [[source](https://web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/UEFI_Drive_Partition_Limits_Fact_Sheet.pdf)], [[source](https://web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)], [[source](https://web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)], [[source](https://web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]\n
    \n
    > I guess I must have gotten my preconceptions wrong, or perhaps I misread something. From my impression, certain things can be installed on the primary drive such as boot loaders, but I could be wrong.\n
    \n
    As I outlined above, this is sort of a technicality in language that depends on context.\n
    \n
    > Finale 2012c is the main software I needed.\n
    \n
    I’m not sure if this is exactly equivalent to that software, but perhaps you would be interested in [MuseScore](https://musescore.org/en) – it’s [open source](https://github.com/musescore/MuseScore).\n
    \n
    > I’ve heard it can be pretty challenging to get into Arch, is this true?\n
    \n
    This has been somewhat exaggerated through memes by the community, and strange elitism. It’s a bit tough to separate oneself from their [curse of knowledge](https://en.wikipedia.org/wiki/Curse_of_knowledge), but if one possesses the motivation to learn, it’s really not that complicated. Depending on one’s existing knowledge, it may initially appear daunting, but the community is quite good, from my experience, and the Arch Wiki is extremely useful. Installation is essentially a matter of just following [the installation guide](https://wiki.archlinux.org/title/installation_guide) step-by-step.\n
    \n
    > I don’t know if I’ll ever be a “script kiddie” as it were.\n
    \n
    Imo, arch has nothing to do with that. If one wants to be a part of that then prob lurking around the [Kali Linux](https://www.kali.org/) communities would be a start. Do note that I am not speaking about Kali Linux from experience, just hearsay, so take that with a grain of salt. But, yeah, Arch is more for people that want more fine-grained control over their system without wanting to get into the full-time job that is something like [Gentoo](https://www.gentoo.org/) 😜.\n
    \n
    > I don’t know how much I like the idea of having to hand-craft my OS from bare metal.\n
    \n
    Imo, that’s not really what arch is – even Gentoo isn’t like that. The closest to that would probably be something like [Linux From Scratch](https://www.linuxfromscratch.org/). Arch just gives you more freedom to choose the base software that your system is using – stuff like your DE, your networking utils, display server, audio server, etc.\n
    \n
    I would like to emphasize that this kind of choice exists with virtually all Linux distros – as in you can essentially make any distro “look” like any other (there may be some intricacies that I am unaware of that may get in the way of changing some things without having to alter others); Arch Linux simply gives you most of the choice right up front.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705818921 {#1605
    date: 2024-01-21 07:35:21.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Classy@sh.itjust.works"
    "@Kalcifer@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2355 …}
  +nested: Doctrine\ORM\PersistentCollection {#2167 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#2440 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2490 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2409 …}
  -id: 327540
  -bodyTs: "'/)':774,836 '/).':886 '/dev/sda':40,75,145,162,460 '/dev/sda1':103 '/dev/sda2':113,127,159,436 '/dev/sda8':492 '/en)':622 '/musescore/musescore).':629 '/title/installation_guide)':728 '/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':536 '/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':540 '/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':472 '/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':532 '/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':44 '/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':468 '/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':476 '/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':464 '/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':528 '/wiki/curse_of_knowledge),':673 '0x7c00':315 '1':101,221 '2':111,226 '2.2':520 '2012c':593 '3':247 '4':258 '5':316 '512':265,447 '6':334 '7':366 '8':407 'actual':371,429 'address':314 'afaik':53,297 'alter':966 'anoth':478 'appear':697 'appli':216,273 'arch':641,710,749,804,864,887,968 'around':768 'audio':912 'averag':209,340 'back':424 'bare':856 'base':896 'bio':172,228,255,333 'bit':284,661 'block':37 'boot':107,169,198,256,329,375,380,417,569 'bootload':304,318,439 'bootsrap':440 'bootstrap':369 'byte':266,448 'call':348 'care':220 'case':337,509 'caus':165 'certain':558 'challeng':637 'chang':960 'chip':229 'choic':924,976 'choos':894 'closest':873 'come':233 'communiti':654,701,775 'compat':59 'complet':422 'complic':687 'contain':299 'context':28,591 'control':815 'copi':238,309 'could':77,433,452,573 'cpu':243 'craft':852 'curs':668 'daunt':698 'de':906 'depend':29,386,589,688 'desir':382 'devic':38,252 'differ':285 'discourag':52 'disk':451,524 'display':910 'distro':373,384,930,938 'drive':16,92,269,276,307,566 'dual':168 'e.g':39,102,112,319,401 'elit':657 'emphas':919 'en.wikipedia.org':672 'en.wikipedia.org/wiki/curse_of_knowledge),':671 'encrypt':405 'enough':189 'equival':608 'essenti':81,140,368,717,935 'etc':406,914 'even':866 'ever':740 'exact':19,607 'exagger':649 'exampl':99,120,479 'execut':245 'exist':85,89,396,692,925 'experi':707,791 'extrem':357,713 'far':188 'filesystem':47 'final':592 'find':249 'fine':813 'fine-grain':812 'first':251,263,446,519 'follow':722 'freedom':892 'front':979 'full':826 'full-tim':825 'general':51,56,215,271,290 'gentoo':833,867 'get':156,237,362,639,822,955 'github.com':628 'github.com/musescore/musescore).':627 'give':889,971 'good':704 'gotten':546 'gpt':287 'grain':799,814 'grub':151,320,343,432,504 'grubx.efi':488 'guess':542 'guid':725 'hand':851 'hand-craft':850 'hard':498 'heard':632 'hearsay':793 'idea':846 'imo':748,858 'impress':557 'initi':346,696 'initramf':350,367 'instal':3,7,72,132,141,153,157,342,458,490,562,715,724 'interest':617 'interperet':79 'interpret':137 'intricaci':947 'isn':868 'issu':166 'job':828 'kali':770,788 'kiddi':744 'kind':922 'know':736,840 'knowledg':670,693 'languag':23,587 'learn':681 'life':235,323 'like':71,355,832,844,870,880,904,917,940 'limit':499 'linux':210,341,359,372,383,392,398,771,789,881,929,969 'list':192,257 'littl':283 'live':117 'll':739 'load':363,400,413 'loader':570 'locat':301,502,516 'look':69,260,939 'luk':404 'lurk':767 'lvm':402 'm':601 'machin':223 'main':596 'make':936 'matter':719 'may':181,385,481,695,944,954 'mbr':278,511 'mean':20,64 'meme':651 'metal':857 'misread':553 'miss':182 'motherboard':232 'motiv':679 'much':294,842 'musescor':619 'musescore.org':621 'musescore.org/en)':620 'must':514,544 'necessarili':513 'need':599 'network':908 'new':95 'note':781 'noth':751 'one':96,218,676,690,757 'oneself':665 'open':625 'order':178 'os':360,411,854 'other':967 'outlin':578 'part':762 'partit':10,86,100,108,110,184 'peopl':808 'perhap':551,613 'possess':677 'possibl':33 'power':224 'preconcept':548 'pretti':293,636 'primari':15,565 'prob':766 'probabl':877 'process':133,199,291,330,420 'program':430,441 'quit':703 'ram':240,312,365,415 'rather':12,160 'read':148,174 'real':497 'realli':684,862 'reason':60 'requir':378 'resid':125,434,443 'rewrit':83 'right':977 'run':390 'salt':801 'scratch':883 'script':743 'sda':17 'sda2':11 'sector':264 'separ':664 'sequenti':177 'server':911,913 'simpli':970 'small':358 'softwar':597,611,897 'someth':70,347,494,554,831,879 'somewhat':27,648 'sort':353,582 'sourc':41,461,465,469,473,525,529,533,537,626 'speak':786 'spring':321 'start':244,779 'statement':67,427 'step':730,732 'step-by-step':729 'strang':656 'stuff':903 'sure':603 'system':202,211,818,900 'tabl':87 'take':326,795 'taylor':206 'tb':521 'technic':32,121,585 'thing':388,559,962 'thought':454 'time':827 'tough':662 'troubl':486 'true':644 'ubuntu':4,73,116,122 'unawar':951 'understand':196 'use':25,35,277,714,902 'user':135 'util':909 've':147,631 'virtual':927 'want':758,810,820 'way':958 'web.archive.org':43,463,467,471,475,527,531,535,539 'web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':534 'web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':538 'web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':470 'web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':530 'web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':42 'web.archive.org/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':466 'web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':474 'web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':462 'web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':526 'whole':131 'wiki':711 'wiki.archlinux.org':727 'wiki.archlinux.org/title/installation_guide)':726 'within':517 'without':819,963 'worth':195 'would':615,776,876,916 'wrong':549,575 'www.gentoo.org':835 'www.gentoo.org/)':834 'www.kali.org':773 'www.kali.org/)':772 'www.linuxfromscratch.org':885 'www.linuxfromscratch.org/).':884 'yeah':803"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7830799"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705818921 {#1945
    date: 2024-01-21 07:35:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1832 …}
  +magazine: App\Entity\Magazine {#313
    +icon: Proxies\__CG__\App\Entity\Image {#294 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#321
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#285 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#281 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#270 …}
    +entries: Doctrine\ORM\PersistentCollection {#228 …}
    +posts: Doctrine\ORM\PersistentCollection {#186 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#248 …}
    +bans: Doctrine\ORM\PersistentCollection {#165 …}
    +reports: Doctrine\ORM\PersistentCollection {#151 …}
    +badges: Doctrine\ORM\PersistentCollection {#129 …}
    +logs: Doctrine\ORM\PersistentCollection {#119 …}
    +awards: Doctrine\ORM\PersistentCollection {#108 …}
    +categories: Doctrine\ORM\PersistentCollection {#95 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#322
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#316
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2476 …}
  +body: """
    > when I installed Ubuntu, it was installed on a partition (sda2) rather than a primary drive (sda)\n
    \n
    The exact meaning of the language in use is somewhat context dependent. It *is* technically possible to use a block device (e.g. `/dev/sda`) [[source](https://web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)] as a filesystem, but it is generally discouraged – afaik, this is generally because of compatibility reasons. As to the meaning of a statement that looks something like “Install Ubuntu to `/dev/sda`” this could be interpereted as essentially just rewriting the existing partition table that exists on that drive with a new one, where, for example, partition 1 (e.g. `/dev/sda1`) is for the boot partition, and partition 2 (e.g. `/dev/sda2`) is where Ubuntu lives. In that example, *technically* Ubuntu is only resides in `/dev/sda2`, but, for the whole installation process, the user can interpret it as essentially installing it all to `/dev/sda`.\n
    \n
    > I’ve read that when GRUB is installed, if it gets installed to /dev/sda2 rather than /dev/sda it can cause issues with dual booting as the BIOS will read in a sequential order, and it may miss a partition if it’s “far enough down the list”\n
    \n
    It’s worth understanding the boot process of a system (this is more taylored to an average Linux system, but can be generally applied, if one is careful):\n
    \n
    1. The machine powers on\n
    2. The BIOS chip on the motherboard comes to life, it gets copied into RAM, and the CPU starts executing it.\n
    3. It finds the first device in the BIOS boot list\n
    4. It looks at the first sector (512 bytes) of that drive (this *generally* only applies if the drive uses MBR, and can be a little bit different with GPT, but the general process is pretty much the same, afaik), which contain the location of the bootloader on that drive, and copies it to RAM at address `0x7C00`\n
    5. The bootloader (e.g. Grub) springs to life and it takes over the boot process from the BIOS\n
    6. In the case of your average linux installation, Grub will then initialize something called the “initramfs” which is sort of like an extremely small Linux OS that gets loaded into RAM\n
    7. Initramfs essentially bootstraps the actual Linux distro into booting – this is required as booting the desired Linux distro may depend on things that run on Linux which can’t exist before Linux is loaded (e.g. LVM’s, LUKS encryption, etc.).\n
    8. Now that the OS is loaded into ram, it boots, and the process is complete.\n
    \n
    So, back to your statement, the actual program of Grub could reside in `/dev/sda2`, but the “bootloader bootsrapping” program, which resides in the first 512 bytes of the disk, could be thought of as being installed to `/dev/sda`.\n
    \n
    [[source](https://web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)], [[source](https://web.archive.org/web/20231216084222/https://wiki.ubuntu.com/Initramfs)], [[source](https://web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)], [[source](https://web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/GUID_Partition_Table#Protective_MBR_(LBA_0))]\n
    \n
    > As another example, you may be in for some trouble if grubx.efi is installed on /dev/sda8 or something.\n
    \n
    The only real “hard” limit on the location of Grub is that, in the case of MBR, it *necessarily* must be located within the first 2.2 TB of the disk.\n
    \n
    [[source](https://web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/UEFI_Drive_Partition_Limits_Fact_Sheet.pdf)], [[source](https://web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)], [[source](https://web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)], [[source](https://web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]\n
    \n
    > I guess I must have gotten my preconceptions wrong, or perhaps I misread something. From my impression, certain things can be installed on the primary drive such as boot loaders, but I could be wrong.\n
    \n
    As I outlined above, this is sort of a technicality in language that depends on context.\n
    \n
    > Finale 2012c is the main software I needed.\n
    \n
    I’m not sure if this is exactly equivalent to that software, but perhaps you would be interested in [MuseScore](https://musescore.org/en) – it’s [open source](https://github.com/musescore/MuseScore).\n
    \n
    > I’ve heard it can be pretty challenging to get into Arch, is this true?\n
    \n
    This has been somewhat exaggerated through memes by the community, and strange elitism. It’s a bit tough to separate oneself from their [curse of knowledge](https://en.wikipedia.org/wiki/Curse_of_knowledge), but if one possesses the motivation to learn, it’s really not that complicated. Depending on one’s existing knowledge, it may initially appear daunting, but the community is quite good, from my experience, and the Arch Wiki is extremely useful. Installation is essentially a matter of just following [the installation guide](https://wiki.archlinux.org/title/installation_guide) step-by-step.\n
    \n
    > I don’t know if I’ll ever be a “script kiddie” as it were.\n
    \n
    Imo, arch has nothing to do with that. If one wants to be a part of that then prob lurking around the [Kali Linux](https://www.kali.org/) communities would be a start. Do note that I am not speaking about Kali Linux from experience, just hearsay, so take that with a grain of salt. But, yeah, Arch is more for people that want more fine-grained control over their system without wanting to get into the full-time job that is something like [Gentoo](https://www.gentoo.org/) 😜.\n
    \n
    > I don’t know how much I like the idea of having to hand-craft my OS from bare metal.\n
    \n
    Imo, that’s not really what arch is – even Gentoo isn’t like that. The closest to that would probably be something like [Linux From Scratch](https://www.linuxfromscratch.org/). Arch just gives you more freedom to choose the base software that your system is using – stuff like your DE, your networking utils, display server, audio server, etc.\n
    \n
    I would like to emphasize that this kind of choice exists with virtually all Linux distros – as in you can essentially make any distro “look” like any other (there may be some intricacies that I am unaware of that may get in the way of changing some things without having to alter others); Arch Linux simply gives you most of the choice right up front.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705818921 {#1605
    date: 2024-01-21 07:35:21.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Classy@sh.itjust.works"
    "@Kalcifer@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2355 …}
  +nested: Doctrine\ORM\PersistentCollection {#2167 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#2440 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2490 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2409 …}
  -id: 327540
  -bodyTs: "'/)':774,836 '/).':886 '/dev/sda':40,75,145,162,460 '/dev/sda1':103 '/dev/sda2':113,127,159,436 '/dev/sda8':492 '/en)':622 '/musescore/musescore).':629 '/title/installation_guide)':728 '/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':536 '/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':540 '/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':472 '/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':532 '/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':44 '/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':468 '/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':476 '/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':464 '/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':528 '/wiki/curse_of_knowledge),':673 '0x7c00':315 '1':101,221 '2':111,226 '2.2':520 '2012c':593 '3':247 '4':258 '5':316 '512':265,447 '6':334 '7':366 '8':407 'actual':371,429 'address':314 'afaik':53,297 'alter':966 'anoth':478 'appear':697 'appli':216,273 'arch':641,710,749,804,864,887,968 'around':768 'audio':912 'averag':209,340 'back':424 'bare':856 'base':896 'bio':172,228,255,333 'bit':284,661 'block':37 'boot':107,169,198,256,329,375,380,417,569 'bootload':304,318,439 'bootsrap':440 'bootstrap':369 'byte':266,448 'call':348 'care':220 'case':337,509 'caus':165 'certain':558 'challeng':637 'chang':960 'chip':229 'choic':924,976 'choos':894 'closest':873 'come':233 'communiti':654,701,775 'compat':59 'complet':422 'complic':687 'contain':299 'context':28,591 'control':815 'copi':238,309 'could':77,433,452,573 'cpu':243 'craft':852 'curs':668 'daunt':698 'de':906 'depend':29,386,589,688 'desir':382 'devic':38,252 'differ':285 'discourag':52 'disk':451,524 'display':910 'distro':373,384,930,938 'drive':16,92,269,276,307,566 'dual':168 'e.g':39,102,112,319,401 'elit':657 'emphas':919 'en.wikipedia.org':672 'en.wikipedia.org/wiki/curse_of_knowledge),':671 'encrypt':405 'enough':189 'equival':608 'essenti':81,140,368,717,935 'etc':406,914 'even':866 'ever':740 'exact':19,607 'exagger':649 'exampl':99,120,479 'execut':245 'exist':85,89,396,692,925 'experi':707,791 'extrem':357,713 'far':188 'filesystem':47 'final':592 'find':249 'fine':813 'fine-grain':812 'first':251,263,446,519 'follow':722 'freedom':892 'front':979 'full':826 'full-tim':825 'general':51,56,215,271,290 'gentoo':833,867 'get':156,237,362,639,822,955 'github.com':628 'github.com/musescore/musescore).':627 'give':889,971 'good':704 'gotten':546 'gpt':287 'grain':799,814 'grub':151,320,343,432,504 'grubx.efi':488 'guess':542 'guid':725 'hand':851 'hand-craft':850 'hard':498 'heard':632 'hearsay':793 'idea':846 'imo':748,858 'impress':557 'initi':346,696 'initramf':350,367 'instal':3,7,72,132,141,153,157,342,458,490,562,715,724 'interest':617 'interperet':79 'interpret':137 'intricaci':947 'isn':868 'issu':166 'job':828 'kali':770,788 'kiddi':744 'kind':922 'know':736,840 'knowledg':670,693 'languag':23,587 'learn':681 'life':235,323 'like':71,355,832,844,870,880,904,917,940 'limit':499 'linux':210,341,359,372,383,392,398,771,789,881,929,969 'list':192,257 'littl':283 'live':117 'll':739 'load':363,400,413 'loader':570 'locat':301,502,516 'look':69,260,939 'luk':404 'lurk':767 'lvm':402 'm':601 'machin':223 'main':596 'make':936 'matter':719 'may':181,385,481,695,944,954 'mbr':278,511 'mean':20,64 'meme':651 'metal':857 'misread':553 'miss':182 'motherboard':232 'motiv':679 'much':294,842 'musescor':619 'musescore.org':621 'musescore.org/en)':620 'must':514,544 'necessarili':513 'need':599 'network':908 'new':95 'note':781 'noth':751 'one':96,218,676,690,757 'oneself':665 'open':625 'order':178 'os':360,411,854 'other':967 'outlin':578 'part':762 'partit':10,86,100,108,110,184 'peopl':808 'perhap':551,613 'possess':677 'possibl':33 'power':224 'preconcept':548 'pretti':293,636 'primari':15,565 'prob':766 'probabl':877 'process':133,199,291,330,420 'program':430,441 'quit':703 'ram':240,312,365,415 'rather':12,160 'read':148,174 'real':497 'realli':684,862 'reason':60 'requir':378 'resid':125,434,443 'rewrit':83 'right':977 'run':390 'salt':801 'scratch':883 'script':743 'sda':17 'sda2':11 'sector':264 'separ':664 'sequenti':177 'server':911,913 'simpli':970 'small':358 'softwar':597,611,897 'someth':70,347,494,554,831,879 'somewhat':27,648 'sort':353,582 'sourc':41,461,465,469,473,525,529,533,537,626 'speak':786 'spring':321 'start':244,779 'statement':67,427 'step':730,732 'step-by-step':729 'strang':656 'stuff':903 'sure':603 'system':202,211,818,900 'tabl':87 'take':326,795 'taylor':206 'tb':521 'technic':32,121,585 'thing':388,559,962 'thought':454 'time':827 'tough':662 'troubl':486 'true':644 'ubuntu':4,73,116,122 'unawar':951 'understand':196 'use':25,35,277,714,902 'user':135 'util':909 've':147,631 'virtual':927 'want':758,810,820 'way':958 'web.archive.org':43,463,467,471,475,527,531,535,539 'web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':534 'web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':538 'web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':470 'web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':530 'web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':42 'web.archive.org/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':466 'web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':474 'web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':462 'web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':526 'whole':131 'wiki':711 'wiki.archlinux.org':727 'wiki.archlinux.org/title/installation_guide)':726 'within':517 'without':819,963 'worth':195 'would':615,776,876,916 'wrong':549,575 'www.gentoo.org':835 'www.gentoo.org/)':834 'www.kali.org':773 'www.kali.org/)':772 'www.linuxfromscratch.org':885 'www.linuxfromscratch.org/).':884 'yeah':803"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7830799"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705818921 {#1945
    date: 2024-01-21 07:35:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1832 …}
  +magazine: App\Entity\Magazine {#313
    +icon: Proxies\__CG__\App\Entity\Image {#294 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#321
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#285 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#281 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#270 …}
    +entries: Doctrine\ORM\PersistentCollection {#228 …}
    +posts: Doctrine\ORM\PersistentCollection {#186 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#248 …}
    +bans: Doctrine\ORM\PersistentCollection {#165 …}
    +reports: Doctrine\ORM\PersistentCollection {#151 …}
    +badges: Doctrine\ORM\PersistentCollection {#129 …}
    +logs: Doctrine\ORM\PersistentCollection {#119 …}
    +awards: Doctrine\ORM\PersistentCollection {#108 …}
    +categories: Doctrine\ORM\PersistentCollection {#95 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#322
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#316
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2476 …}
  +body: """
    > when I installed Ubuntu, it was installed on a partition (sda2) rather than a primary drive (sda)\n
    \n
    The exact meaning of the language in use is somewhat context dependent. It *is* technically possible to use a block device (e.g. `/dev/sda`) [[source](https://web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)] as a filesystem, but it is generally discouraged – afaik, this is generally because of compatibility reasons. As to the meaning of a statement that looks something like “Install Ubuntu to `/dev/sda`” this could be interpereted as essentially just rewriting the existing partition table that exists on that drive with a new one, where, for example, partition 1 (e.g. `/dev/sda1`) is for the boot partition, and partition 2 (e.g. `/dev/sda2`) is where Ubuntu lives. In that example, *technically* Ubuntu is only resides in `/dev/sda2`, but, for the whole installation process, the user can interpret it as essentially installing it all to `/dev/sda`.\n
    \n
    > I’ve read that when GRUB is installed, if it gets installed to /dev/sda2 rather than /dev/sda it can cause issues with dual booting as the BIOS will read in a sequential order, and it may miss a partition if it’s “far enough down the list”\n
    \n
    It’s worth understanding the boot process of a system (this is more taylored to an average Linux system, but can be generally applied, if one is careful):\n
    \n
    1. The machine powers on\n
    2. The BIOS chip on the motherboard comes to life, it gets copied into RAM, and the CPU starts executing it.\n
    3. It finds the first device in the BIOS boot list\n
    4. It looks at the first sector (512 bytes) of that drive (this *generally* only applies if the drive uses MBR, and can be a little bit different with GPT, but the general process is pretty much the same, afaik), which contain the location of the bootloader on that drive, and copies it to RAM at address `0x7C00`\n
    5. The bootloader (e.g. Grub) springs to life and it takes over the boot process from the BIOS\n
    6. In the case of your average linux installation, Grub will then initialize something called the “initramfs” which is sort of like an extremely small Linux OS that gets loaded into RAM\n
    7. Initramfs essentially bootstraps the actual Linux distro into booting – this is required as booting the desired Linux distro may depend on things that run on Linux which can’t exist before Linux is loaded (e.g. LVM’s, LUKS encryption, etc.).\n
    8. Now that the OS is loaded into ram, it boots, and the process is complete.\n
    \n
    So, back to your statement, the actual program of Grub could reside in `/dev/sda2`, but the “bootloader bootsrapping” program, which resides in the first 512 bytes of the disk, could be thought of as being installed to `/dev/sda`.\n
    \n
    [[source](https://web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)], [[source](https://web.archive.org/web/20231216084222/https://wiki.ubuntu.com/Initramfs)], [[source](https://web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)], [[source](https://web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/GUID_Partition_Table#Protective_MBR_(LBA_0))]\n
    \n
    > As another example, you may be in for some trouble if grubx.efi is installed on /dev/sda8 or something.\n
    \n
    The only real “hard” limit on the location of Grub is that, in the case of MBR, it *necessarily* must be located within the first 2.2 TB of the disk.\n
    \n
    [[source](https://web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/UEFI_Drive_Partition_Limits_Fact_Sheet.pdf)], [[source](https://web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)], [[source](https://web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)], [[source](https://web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]\n
    \n
    > I guess I must have gotten my preconceptions wrong, or perhaps I misread something. From my impression, certain things can be installed on the primary drive such as boot loaders, but I could be wrong.\n
    \n
    As I outlined above, this is sort of a technicality in language that depends on context.\n
    \n
    > Finale 2012c is the main software I needed.\n
    \n
    I’m not sure if this is exactly equivalent to that software, but perhaps you would be interested in [MuseScore](https://musescore.org/en) – it’s [open source](https://github.com/musescore/MuseScore).\n
    \n
    > I’ve heard it can be pretty challenging to get into Arch, is this true?\n
    \n
    This has been somewhat exaggerated through memes by the community, and strange elitism. It’s a bit tough to separate oneself from their [curse of knowledge](https://en.wikipedia.org/wiki/Curse_of_knowledge), but if one possesses the motivation to learn, it’s really not that complicated. Depending on one’s existing knowledge, it may initially appear daunting, but the community is quite good, from my experience, and the Arch Wiki is extremely useful. Installation is essentially a matter of just following [the installation guide](https://wiki.archlinux.org/title/installation_guide) step-by-step.\n
    \n
    > I don’t know if I’ll ever be a “script kiddie” as it were.\n
    \n
    Imo, arch has nothing to do with that. If one wants to be a part of that then prob lurking around the [Kali Linux](https://www.kali.org/) communities would be a start. Do note that I am not speaking about Kali Linux from experience, just hearsay, so take that with a grain of salt. But, yeah, Arch is more for people that want more fine-grained control over their system without wanting to get into the full-time job that is something like [Gentoo](https://www.gentoo.org/) 😜.\n
    \n
    > I don’t know how much I like the idea of having to hand-craft my OS from bare metal.\n
    \n
    Imo, that’s not really what arch is – even Gentoo isn’t like that. The closest to that would probably be something like [Linux From Scratch](https://www.linuxfromscratch.org/). Arch just gives you more freedom to choose the base software that your system is using – stuff like your DE, your networking utils, display server, audio server, etc.\n
    \n
    I would like to emphasize that this kind of choice exists with virtually all Linux distros – as in you can essentially make any distro “look” like any other (there may be some intricacies that I am unaware of that may get in the way of changing some things without having to alter others); Arch Linux simply gives you most of the choice right up front.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705818921 {#1605
    date: 2024-01-21 07:35:21.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Classy@sh.itjust.works"
    "@Kalcifer@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2355 …}
  +nested: Doctrine\ORM\PersistentCollection {#2167 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#2440 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2490 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2409 …}
  -id: 327540
  -bodyTs: "'/)':774,836 '/).':886 '/dev/sda':40,75,145,162,460 '/dev/sda1':103 '/dev/sda2':113,127,159,436 '/dev/sda8':492 '/en)':622 '/musescore/musescore).':629 '/title/installation_guide)':728 '/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':536 '/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':540 '/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':472 '/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':532 '/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':44 '/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':468 '/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':476 '/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':464 '/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':528 '/wiki/curse_of_knowledge),':673 '0x7c00':315 '1':101,221 '2':111,226 '2.2':520 '2012c':593 '3':247 '4':258 '5':316 '512':265,447 '6':334 '7':366 '8':407 'actual':371,429 'address':314 'afaik':53,297 'alter':966 'anoth':478 'appear':697 'appli':216,273 'arch':641,710,749,804,864,887,968 'around':768 'audio':912 'averag':209,340 'back':424 'bare':856 'base':896 'bio':172,228,255,333 'bit':284,661 'block':37 'boot':107,169,198,256,329,375,380,417,569 'bootload':304,318,439 'bootsrap':440 'bootstrap':369 'byte':266,448 'call':348 'care':220 'case':337,509 'caus':165 'certain':558 'challeng':637 'chang':960 'chip':229 'choic':924,976 'choos':894 'closest':873 'come':233 'communiti':654,701,775 'compat':59 'complet':422 'complic':687 'contain':299 'context':28,591 'control':815 'copi':238,309 'could':77,433,452,573 'cpu':243 'craft':852 'curs':668 'daunt':698 'de':906 'depend':29,386,589,688 'desir':382 'devic':38,252 'differ':285 'discourag':52 'disk':451,524 'display':910 'distro':373,384,930,938 'drive':16,92,269,276,307,566 'dual':168 'e.g':39,102,112,319,401 'elit':657 'emphas':919 'en.wikipedia.org':672 'en.wikipedia.org/wiki/curse_of_knowledge),':671 'encrypt':405 'enough':189 'equival':608 'essenti':81,140,368,717,935 'etc':406,914 'even':866 'ever':740 'exact':19,607 'exagger':649 'exampl':99,120,479 'execut':245 'exist':85,89,396,692,925 'experi':707,791 'extrem':357,713 'far':188 'filesystem':47 'final':592 'find':249 'fine':813 'fine-grain':812 'first':251,263,446,519 'follow':722 'freedom':892 'front':979 'full':826 'full-tim':825 'general':51,56,215,271,290 'gentoo':833,867 'get':156,237,362,639,822,955 'github.com':628 'github.com/musescore/musescore).':627 'give':889,971 'good':704 'gotten':546 'gpt':287 'grain':799,814 'grub':151,320,343,432,504 'grubx.efi':488 'guess':542 'guid':725 'hand':851 'hand-craft':850 'hard':498 'heard':632 'hearsay':793 'idea':846 'imo':748,858 'impress':557 'initi':346,696 'initramf':350,367 'instal':3,7,72,132,141,153,157,342,458,490,562,715,724 'interest':617 'interperet':79 'interpret':137 'intricaci':947 'isn':868 'issu':166 'job':828 'kali':770,788 'kiddi':744 'kind':922 'know':736,840 'knowledg':670,693 'languag':23,587 'learn':681 'life':235,323 'like':71,355,832,844,870,880,904,917,940 'limit':499 'linux':210,341,359,372,383,392,398,771,789,881,929,969 'list':192,257 'littl':283 'live':117 'll':739 'load':363,400,413 'loader':570 'locat':301,502,516 'look':69,260,939 'luk':404 'lurk':767 'lvm':402 'm':601 'machin':223 'main':596 'make':936 'matter':719 'may':181,385,481,695,944,954 'mbr':278,511 'mean':20,64 'meme':651 'metal':857 'misread':553 'miss':182 'motherboard':232 'motiv':679 'much':294,842 'musescor':619 'musescore.org':621 'musescore.org/en)':620 'must':514,544 'necessarili':513 'need':599 'network':908 'new':95 'note':781 'noth':751 'one':96,218,676,690,757 'oneself':665 'open':625 'order':178 'os':360,411,854 'other':967 'outlin':578 'part':762 'partit':10,86,100,108,110,184 'peopl':808 'perhap':551,613 'possess':677 'possibl':33 'power':224 'preconcept':548 'pretti':293,636 'primari':15,565 'prob':766 'probabl':877 'process':133,199,291,330,420 'program':430,441 'quit':703 'ram':240,312,365,415 'rather':12,160 'read':148,174 'real':497 'realli':684,862 'reason':60 'requir':378 'resid':125,434,443 'rewrit':83 'right':977 'run':390 'salt':801 'scratch':883 'script':743 'sda':17 'sda2':11 'sector':264 'separ':664 'sequenti':177 'server':911,913 'simpli':970 'small':358 'softwar':597,611,897 'someth':70,347,494,554,831,879 'somewhat':27,648 'sort':353,582 'sourc':41,461,465,469,473,525,529,533,537,626 'speak':786 'spring':321 'start':244,779 'statement':67,427 'step':730,732 'step-by-step':729 'strang':656 'stuff':903 'sure':603 'system':202,211,818,900 'tabl':87 'take':326,795 'taylor':206 'tb':521 'technic':32,121,585 'thing':388,559,962 'thought':454 'time':827 'tough':662 'troubl':486 'true':644 'ubuntu':4,73,116,122 'unawar':951 'understand':196 'use':25,35,277,714,902 'user':135 'util':909 've':147,631 'virtual':927 'want':758,810,820 'way':958 'web.archive.org':43,463,467,471,475,527,531,535,539 'web.archive.org/web/20210211081110/https://superuser.com/questions/1165557/how-grub2-works-on-a-mbr-partitioned-disk-and-gpt-partitioned-disk)],':534 'web.archive.org/web/20220310011751/https://unix.stackexchange.com/questions/387723/location-of-grub-boot-loader-in-hdd)]':538 'web.archive.org/web/20220311070235/https://unix.stackexchange.com/questions/332880/how-does-grub-find-boot-partition-on-an-mbr-disk)],':470 'web.archive.org/web/20230724190443/https://askubuntu.com/questions/618244/does-the-uefi-partition-either-must-or-should-be-first-for-some-reason-if-s)],':530 'web.archive.org/web/20231001070702/https://askubuntu.com/questions/1209553/is-there-any-benefit-to-partitioning-hdd-data-only-disk)]':42 'web.archive.org/web/20231216084222/https://wiki.ubuntu.com/initramfs)],':466 'web.archive.org/web/20240118102147/https://en.wikipedia.org/wiki/guid_partition_table#protective_mbr_(lba_0))]':474 'web.archive.org/web/20240119023731/https://stackoverflow.com/questions/11949511/where-does-the-bootloader-run)],':462 'web.archive.org/web/20240121061037/https://uefi.org/sites/default/files/resources/uefi_drive_partition_limits_fact_sheet.pdf)],':526 'whole':131 'wiki':711 'wiki.archlinux.org':727 'wiki.archlinux.org/title/installation_guide)':726 'within':517 'without':819,963 'worth':195 'would':615,776,876,916 'wrong':549,575 'www.gentoo.org':835 'www.gentoo.org/)':834 'www.kali.org':773 'www.kali.org/)':772 'www.linuxfromscratch.org':885 'www.linuxfromscratch.org/).':884 'yeah':803"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7830799"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705818921 {#1945
    date: 2024-01-21 07:35:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#313
  +icon: Proxies\__CG__\App\Entity\Image {#294 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#321
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#285 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#281 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#270 …}
  +entries: Doctrine\ORM\PersistentCollection {#228 …}
  +posts: Doctrine\ORM\PersistentCollection {#186 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#248 …}
  +bans: Doctrine\ORM\PersistentCollection {#165 …}
  +reports: Doctrine\ORM\PersistentCollection {#151 …}
  +badges: Doctrine\ORM\PersistentCollection {#129 …}
  +logs: Doctrine\ORM\PersistentCollection {#119 …}
  +awards: Doctrine\ORM\PersistentCollection {#108 …}
  +categories: Doctrine\ORM\PersistentCollection {#95 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#322
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#316
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details