Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Troubles with Partitions

986 views
Skip to first unread message

David W. Summers

unread,
Jan 19, 1992, 3:56:28 AM1/19/92
to
Hello NetLanders,

Well earlier yesterday and today I was banging right along with Linux.
I was able to tell Linux to boot from the hard disk and mount the root from
the hard disk (/dev/hd1). I used ShoeLace to do this.

THEN I tried to activate swapping on /dev/hd2. No joy. mkswap told me I
couldn't use the second partition because it was a DOS extended partition.

So, I proceded to try to change the partition type with 'edpart', which
seemed to work, until I tried to re-boot using the hard disk. NO JOY!

It now would not boot! Fortunately I had a bootable rootable floppy, which
I then proceeded to boot from. When I then ran 'fdisk', it said that
/dev/hd3 and /dev/hd4 were my partitions instead of /dev/hd1 and /dev/hd2!!!!

"Well", I says to myself, "I can live with that.", so I proceeded to install
ShoeLace to use /dev/hd3 as the root. No Joy. Upon booting /dev/hd3, it
comes up and says that I still am trying to use /dev/hd1 after I've already
told it I want /dev/hd3! Pretty wierd, eh kiddies?

So, unless someone has any ideas, I'll just have to run without Swapping
enabled until I or someone else figures out how to get mkswap to accept
a DOS 5 or DOS 3.3 extended partition!

Any ideas?

Thanks!
- David Summers
(d...@engr.uark.edu)

--
"Never under-estimate the bandwidth of a station-wagon
David Summers full of tapes, hurtling down the highway."
d...@engr.uark.edu - Tanenbaum, "Computer Networks"

Steven L. Johnson

unread,
Jan 19, 1992, 7:00:53 AM1/19/92
to
d...@cseg01.uark.edu (David W. Summers) writes:

>"Well", I says to myself, "I can live with that.", so I proceeded to install
>ShoeLace to use /dev/hd3 as the root. No Joy. Upon booting /dev/hd3, it
>comes up and says that I still am trying to use /dev/hd1 after I've already
>told it I want /dev/hd3! Pretty wierd, eh kiddies?

There is no real consensus on whether partition #1 is the first
partition on the disk, or is the first entry in the partition
table. Some parition programs sort this information on the
screen only, some will write the sorted information back to the
hard disk. Linux assumes that the first entry is hd1, and so
if some utility starts sorting/reordering the table these things
can change.

A useful hack is to make each of your partitions a different size.
Then after any editting or possible change to the partition table
you can boot a floppy system and run fdisk (linux's, not DOS) to
see if the assignments still hold.

>So, unless someone has any ideas, I'll just have to run without Swapping
>enabled until I or someone else figures out how to get mkswap to accept
>a DOS 5 or DOS 3.3 extended partition!

The 16 bit FAT DOS(4) Extension selection in edpart is acceptable
to linux for both the regular file system partitions and swap space.
These are not the same as the extended dos partitions that can
contain multiple logical volumes which linux objects to.

At least it works for me.

-Steve

Peter Cooper

unread,
Jan 19, 1992, 10:45:31 PM1/19/92
to
d...@cseg01.uark.edu (David W. Summers) writes:

>Hello NetLanders,

> Well earlier yesterday and today I was banging right along with Linux.
>I was able to tell Linux to boot from the hard disk and mount the root from
>the hard disk (/dev/hd1). I used ShoeLace to do this.

>THEN I tried to activate swapping on /dev/hd2. No joy. mkswap told me I
>couldn't use the second partition because it was a DOS extended partition.

>So, I proceded to try to change the partition type with 'edpart', which
>seemed to work, until I tried to re-boot using the hard disk. NO JOY!

>It now would not boot! Fortunately I had a bootable rootable floppy, which
>I then proceeded to boot from. When I then ran 'fdisk', it said that
>/dev/hd3 and /dev/hd4 were my partitions instead of /dev/hd1 and /dev/hd2!!!!

>"Well", I says to myself, "I can live with that.", so I proceeded to install
>ShoeLace to use /dev/hd3 as the root. No Joy. Upon booting /dev/hd3, it
>comes up and says that I still am trying to use /dev/hd1 after I've already
>told it I want /dev/hd3! Pretty wierd, eh kiddies?

Shoelace has a bug in it. As far as I am aware, it will not be possible
to use shoelace to boot a kernel that does swapping (something to do
with the fact that shoelace overwrites the wrong bytes in the bootsector
when loading. If you want to grab the shoelace sources, I am informed
that it is a fairly easy bug to fix. )

Just Changed

unread,
Sep 3, 2020, 7:46:26 AM9/3/20
to
понедельник, 20 января 1992 г. в 06:45:31 UTC+3, Peter Cooper:
Hello, i am from 2020, Linux still alive!:D

Kaje

unread,
Dec 18, 2021, 3:21:33 PM12/18/21
to
Good ol' Times of early Linux.
0 new messages