{"id":660,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=660"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"making-hidden-linux-partitions-visible-to-beos","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=660","title":{"rendered":"Making &quot;hidden&quot; Linux partitions visible to BeOS"},"content":{"rendered":"<p>Some users may have the bad experience where BeOS is neither able to mount nor &#8222;see&#8220; any partitions (logical ones mostly) on a hard disk that was re-partitioned by Linux&#8217;s fdisk or DiskDruid.<br \/>\nThe reason for this is that BeOS is trying to identify partitions named after their physical position in the drive. For example, <code>hda3<\/code> is the third physical partition of a drive on primary master channel. This is the model that DOS\/Windows partitioning tools follow as well.<br \/>\nLinux tools, however, do not name a partition after their physical order on the disk, but relative to WHEN they were created. So, if you keep re-partitioning your hard drive to create swaps or \/ partitions for Linux, you will end up with partitions having names like hda10 or hda11 etc depending on when they were created. So, the number on the name of a partition does not reflect the position of the partition inside the drive.<br \/>\nMS-DOS and Windows are capable of reading such overlapping partitions, which is why FAT32 partitions are sometimes rendered unbootable after installing Linux.<br \/>\nBeOS 5, on the other hand, does not allow this. Because it &#8222;sees&#8220; the partitions as a linked list, it does not allow any differentiations in order to protect itself. This is also why you can&#8217;t see any logical partitions on a drive that has been re-partitioned with Linux (most likely BeOS will be able to see only the primary one).<br \/>\nBecause Linux most definitely is not going to change the way it is creating partitions and because Be may never &#8222;fix&#8220; this security &#8222;gotcha,&#8220; there is only one way to fix this situation. <b>Note:<\/b> the following tip is NOT for newbies and not for the faint of heart:<br \/>\nThe linux program sfdisk lets you reshuffle partitions. Another tool is cfdisk, which you can try if you don&#8217;t trust the plain fdisk (for the love of God don&#8217;t use DiskDruid).<br \/>\nFind the <i>exact<\/i> partition boundaries with this command:<\/p>\n<pre>fdisk -l \/dev\/hdX<\/pre>\n<p>And write them down on paper. Next, delete them all and recreate them in the correct physical order again. As long as you don&#8217;t make any typos and enter the exact partition boundaries again, no data will be lost. Be aware that you <i>must<\/i> boot Linux afterwards with the reshufled <code>root=\/dev\/hdX<\/code> LILO option, since the numbering changed, and make any changes that have to be made accordingly to the <code>\/etc\/fstab<\/code> file. BeOS will now be able again to read the partition&#8217;s table.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some users may have the bad experience where BeOS is neither able to mount nor &#8222;see&#8220; any partitions (logical ones mostly) on a hard disk that was re-partitioned by Linux&#8217;s fdisk or DiskDruid. The reason for this is that BeOS is trying to identify partitions named after their physical position in the drive. For example, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[8],"class_list":["post-660","post","type-post","status-publish","format-standard","hentry","tag-misc"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=660"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/660\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}