Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Had to wipe it? While I dont think you have to have a swap partition, your current setup might not like it. Why not restore your partitions, and plan how you're going to split your drive in future?
Use parted again?
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473
Original Poster
Rep:
Okay, here is what is happening:
I go into FDISK and type exactly as follows:
:fdisk /dev/hda
:The number of cylinders for this disk is set to 9732.
:There is nothing wrong with that, but this is larger than 1024,
:and could in certain setups cause problems with:
:1) software that runs at boot time (e.g., old versions of LILO)
:2) booting and partitioning software from other OSs
: (e.g., DOS FDISK, OS/2 FDISK)
:
Okay, I created an extended partition here that was 512 MB large.
Then, I tried to change the flag type to swap and it won't let me. It says I have to delete the partition first.
So, next what I tried to do is go into parted and do it that way. However, this isn't working either. This is what I have so far. . .
Minor Start End Type Filesystem Flags
1 0.031 4000.561 primary ntfs
2 4000.562 4102.536 primary ext3 boot
3 4102.537 14998.183 primary ext3
4 14998.184 15508.059 extended lba
What I am attempting to do is change the flag on the lba to a swap and it doesn't not keep the changes. Any ideas?
Last edited by scottpioso; 05-30-2003 at 01:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.