Donald Walton <[EMAIL PROTECTED]> writes: > Continuing the investigation into why there is a problem mounting > partitions, other than the first partition, of a IDE hard drive, it > appears that partitions other than the first one are being ignored. > > I tried to mount my IDE hard drive as /dev/disk0/1. eCos printed "disk > lookup dev number = 1", which is correct. eCos then indicated that > "disk read block=63", which is the start of partition 0, not partition > 1. Partition 0 ends at 782207 and partition 1 starts at 782208.
The partition numbering is a little odd: /dev/disk0/0 refers to the whole disk. So sector 0 of this will be the MBR with the partition table. /dev/disk0/1 refers to the first partition, /dev/disk0/2 to the second and so on. So you probably want to try mounting /dev/disk0/2. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss