Skip to contentSkip to conversation

Linux not adhering to BIOS Drive boot order?

DISCUSSION David Balazic 2 participants 2 messages Jan 18, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 22 lines · Matti Aarnio
Quoted 5 lines · Werner Almesberger

The only cases when you really need to know the name of a disk is when
- doing disk-level management, e.g. partitioning or creating file systems (*)
- adding a swap partition (sigh)
- telling your boot loader where to put its boot sector

2.4.0 with devfs mounted at boot time into /dev/

Only thing missing is that here /dev/scsi/host0/ propably should be a symlink to something like /dev/bus/pci/BB/II.F ...
Or perhaps /dev/scsi/BUS/BB/II.F/busN/targetT/lunL/partP but mixing in ISA-bus controllers is somewhat tough..

   $ mount
   /dev/scsi/host0/bus0/target0/lun0/part3 on / type ext2 (rw)
   /dev/scsi/host0/bus0/target2/lun0/part2 on /home type ext2 (rw)
   /dev/scsi/host0/bus0/target0/lun0/part4 on /usr type ext2 (rw)
   /dev/scsi/host0/bus0/target2/lun0/part1 on /usr/src type ext2 (rw)
   /dev/scsi/host0/bus0/target0/lun0/part1 on /boot type ext2 (rw)
    I do, of course, use mounting with LABEL=
Quoted 5 lines

This new style (which contains, hopefully, physical PCI location) mount device paths will failry easily handle question about which is where... And the partitions are PHYSICAL partition numbers, not some logical ones. That is true with /dev/sdXP case as well as with /dev/hdXP case.

What is the difference between physical and logical partitions ? How does this solve the "I deleted hda5 and now the old hda6 became hda5"
problem ?

Signature · 8 lines
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 1 line

What is the difference between physical and logical partitions ?

primary (what you call physical) partitions are partitions in their own right logical partitions are partitions within a special partition

Quoted 2 lines

How does this solve the "I deleted hda5 and now the old hda6 became hda5" problem ?

It doesn't nothing can as the way that the pcbios extended partition works as a (linked?) list of partitions so removing one shuffles the rest up.

Signature · 13 lines
   Tim Fletcher - Network manager   .~.
                                    /V\      L   I   N   U   X
     [email protected]        // \\  >Don't fear the penguin<
[email protected]   /(   )\
 irc: Night-Shade on quakenet      ^^-^^

"While preceding your entrance with a grenade is a good tactic in
   Quake, it can lead to problems if attempted at work." -- C Hacking

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/