Re: OS hallucinates hard drive geometry
Em Qua, 2002-06-19 às 02:18, Aaron Maxwell escreveu:
> I just realized something interesting. Before I tried repartitioning
> as described in my original message (below), I had hda2 as a smaller
> partition containing the HURD. When I mount the new /dev/hda2, its
> size is 926 MB, and it contains all the old hurd files. I did not
> write it down and can't remember, but I think this size - just under a
> gig - is what I made the HURD partition long ago.
>
> So the partition table is correct; however, when the OS actually is up
> and running, the kernel somehow is confused, and acts as if it still
> has the OLD partition table. (It's not the geometry at all like I
> originally thought.) What could cause this behavior?
>
Did you format (mkfs) those 2 partitions before trying to mount them?
Seems the kernel sees your old formatation on hda2 and no formatation on
hda3
Michel.
> Thanks,
> Aaron
>
> On Tuesday 18 June 2002 20:37, Aaron Maxwell wrote:
> > Hi, I'm running woody with kernel 2.4.18. (This is a custom kernel -
> > I downloaded the source, and built it with make-kpkg.) My hard drive
> > is 20 GB with three primary partions:
> >
> > Device Boot Start End Blocks Id System
> > /dev/hda1 * 1 1459 11719386 83 Linux
> > /dev/hda2 1460 1945 3903795 83 Linux
> > /dev/hda3 1946 2495 4417875 83 Linux
> >
> > This means that hda1 is 11.7GB, hda2 is 3.9GB, and hda3 is 4.4 GB.
> > (hda1 has existed for a while: hda2 and hda3 are new partitions.)
> > However, when I mount them, problems ensue:
> >
> > (hda1 is already mounted on /)
> > shiznit:~# mount /dev/hda2 /mnt/hda2
> > shiznit:~# mount /dev/hda3 /mnt/hda3
> > mount: you must specify the filesystem type
> > shiznit:~# mount -t ext2 /dev/hda3 /mnt/hda3
> > mount: wrong fs type, bad option, bad superblock on /dev/hda3,
> > or too many mounted file systems
> > shiznit:~# df -h
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/hda1 11G 4.5G 6.0G 43% /
> > /dev/hda2 926M 65M 814M 8% /mnt/hda2
> >
> > Note that:
> > 1) /dev/hda2 is smaller than it should be.
> > 2) /dev/hda3 could not be mounted at all.
> >
> > I tried the partitioning with fdisk, cfdisk, and parted (I decided
> > not to try sfdisk yet). Same results, except parted produced this
> > warning: Information: The operating system thinks the geometry on
> > /dev/hda is 2495/255/63. Therefore, cylinder 1024 ends at 8032.499M.
> >
> > I'm not clear on what to try next. Anyone? Thanks in advance.
> >
> > Aaron
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: