Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After reconfiguring partitions on a dual boot machine(W2K&RH9) with Partitionmagic8, I booted into RH9 and ran parted:
[root@Whitman /]# parted
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
Using /dev/hda
Information: The operating system thinks the geometry on /dev/hda is 1247/255/63. Therefore, cylinder 1024
ends at 8032.499M.
(parted) select /dev/hda
Using /dev/hda
Information: The operating system thinks the geometry on /dev/hda is 1247/255/63. Therefore, cylinder 1024
ends at 8032.499M.
(parted) print
Disk geometry for /dev/hda: 0.000-9787.148 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
2 0.031 4761.452 primary fat32 boot
1 4761.453 9781.765 extended lba
5 4761.483 5765.515 logical fat32
6 5765.546 6769.577 logical fat32
7 6769.608 7773.640 logical fat32
8 7773.671 8777.702 logical fat32
9 8777.733 9781.765 logical fat32
(parted) select /dev/hdb
Using /dev/hdb
Information: The operating system thinks the geometry on /dev/hdb is 4865/255/63. Therefore, cylinder 1024
ends at 8032.499M.
(parted) print
Disk geometry for /dev/hdb: 0.000-38166.679 megabytes
Disk label type: loop
Minor Start End Filesystem Flags
1 0.000 38166.679 fat32
(parted)
My question is what does "Disk label type: loop" mean, and how did I lose the msdos label on hdb?
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Something is wrong. You can't install RH9 on FAT. Or do you still have to install Linux? In that case ignore output of parted and proceed, the installation routine will let you make partitions to your heart's desire.
I am not installing anything, but rather resized certain partitions on hda & hdb with partitionmagic8. Before resizing, parted reported hdb as disk label type msdos and all partitions on hdb were reported correctly. After resizing, parted reprted as above.
Again, what does "Disk label type: loop" mean, and how did I lose the msdos label on hdb?
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
The label of a disk should be irrelevant, just a name. RH9 won't start form FAT32, you have to change that back to the correct value of the file system you installed originally (using fdisk or cfdisk).
RH9 is not on a FAT32 partition; it's fs is ext2, and I can boot to it fine.
The problem is that parted no longer displays the correct information for hdb. And creating the proper disk label 'msdos' using the parted command 'mklabel' may make that disk unusable, as I understand it from the above link.
That's why I asked the question: What does "loop" mean? I could find no reference to the term in the manual above or with a google search.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally posted by abw The label does apparently does matter. ...
Okay, I followed the link (thanks ) but I don't entirely understand -- is this just a human readable form for the usual hex-codes of the partition types?...
Quote:
Originally posted by abw
RH9 is not on a FAT32 partition; ...
Your output from parted in your post #1 in this thread shows otherwise
...
Using /dev/hdb
Information: The operating system thinks the geometry on /dev/hdb is 4865/255/63. Therefore, cylinder 1024
ends at 8032.499M.
(parted) print
Disk geometry for /dev/hdb: 0.000-38166.679 megabytes
Disk label type: loop
Minor Start End Filesystem Flags
1 0.000 38166.679 fat32 <<=== see this?
(parted)
...
Quote:
Originally posted by abw ... What does "loop" mean? I could find no reference to the term in the manual above or with a google search.
Huh? From that very link:
...
Parted works on all partition tables. (1)
label-type must be one of these supported disk labels:
bsd loop (raw disk access)
...
Originally posted by abw The problem is that I cannot mount drives on hdb while running RH, and that is apparently related to parted not being able to find them.
Not necessarily related- what does fdisk (in Linux) have to say about your drive layout? Run the following command and post the output:
fdisk -l
(the " l " is a lowercase "L")
You have a very similar thread going at JustLinux; since I spend 99% of my time there, I'll follow up in that thread ASAP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.