bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub cannot find ufs sub-partition `e'


From: Jeff Sheinberg
Subject: grub cannot find ufs sub-partition `e'
Date: Mon, 4 Dec 2000 16:36:17 -0500 (EST)

Hi,

I find that both grub 0.5.96.1 and 0.5.97 (cvs 2000-12-11) cannot
find the `e' ufs partition, however, both can find the `a' on
partition (hd2,3).  This happens with the grub shell as well.

Here is what linux fdisk shows,

122 jsroot ~ # fdisk -l /dev/sdb

Disk /dev/sdb: 255 heads, 63 sectors, 527 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1       220   1767118+   5  Extended
/dev/sdb2   *       221       323    827347+  a5  BSD/386
/dev/sdb3           324       425    819315   83  Linux
/dev/sdb4           426       527    819315   a5  BSD/386
/dev/sdb5             1        16    128457   82  Linux swap
/dev/sdb6            17       118    819283+  83  Linux
/dev/sdb7           119       220    819283+  83  Linux
-------------------------------------------------------

And a cut/paste from the grub shell,

grub> geometry (hd2)
drive 0x82: C/H/S = 527/255/63, The number of sectors = 8467200, /dev/sdb
   Partition num: 1, [BSD sub-partitions immediately follow]
     BSD Partition num: 'a',  Filesystem type is ffs, partition type 0xa5
   Partition num: 2,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 3, [BSD sub-partitions immediately follow]
     BSD Partition num: 'a',  Filesystem type is ffs, partition type 0xa5
---------------->here is where the `b' and `e' should be<----------------
   Partition num: 4,  Filesystem type unknown, partition type 0x82
   Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 6,  Filesystem type is ext2fs, partition type 0x83

grub> root (hd2,3,a)/^Ia-dir/^Ifilea 
 Filesystem type is ffs, partition type 0xa5
--------------------------------------------------------------------

Here is the output from the freebsd disklabel program,

102 jeff ~ $ cat /fbsd/etc/label.da1s4 
# /dev/da1s4c:
type: SCSI
disk: da1s4
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 102
sectors/unit: 1638630
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    81920        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 5*)
  b:   393216    81920      swap                        # (Cyl.    5*- 29*)
  c:  1638630        0    unused        0     0         # (Cyl.    0 - 101)
  e:  1163494   475136    4.2BSD     1024  8192    16   # (Cyl.   29*- 101*)

103 jeff ~ $ cat /fbsd/etc/label.da1s2
# /dev/da1s2c:
type: SCSI
disk: da1s2
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 103
sectors/unit: 1654695
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1654695        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 102)
  c:  1654695        0    unused        0     0         # (Cyl.    0 - 102)

----------------------------------------------------------------------------

Thanks,
-- 
Jeff Sheinberg  <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]