Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Well I thought I did not need a DOS partition, but it looks like it would be a good thing after all. Laptop is RedHat 7.3 and has lots of work on it in installation. I
don't want to re-install (although that would solve the problem)
Here is my setup
/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 swap
I want to take 10mb from /dev/hda2 and create a /dev/hda4 for DOS.
I have a desktop machine with plenty of room for /dev/hda on it and they are networked with Ethernet. Or is there a way to shrink/split the /dev/hda2 without
extensive copying.
Normally I would not ask for a "please just tell me step by step how to do this" but I want to be really careful with the laptop as it took me a long time to get it "just so" I have done some reading but I don't want to just launch into it myself.
I suppose my first step would be to get NSF working, I have not been able to get that yet.
RH 7.3 is damn old - may or may not have the resize tools you need.
What filesystem is the partition you want to resize ???.
Regardless, you *must* backup the data before contemplating screwing around with partitions.
Which "DOS" do you want to install - e.g. if it's Win95, you'll have to move everything.
'/' is the mountpoint, we need the filesystem type - enter the following command, and post the output here: "df -hT" (that's an upper case T).
Different filesystem types require different resizing tool(s).
For that amount of room, it might be easiest to steal from the swap partition.
I'm not 100% sure, but those DOS levels should only require a primary partition - no other special requirements unless your BIOS doesn't have the INT13 extensions (the infamous cylinder 1024 problem).
Man, I can't believe some of those numbers - try editting an image and see what happens...
I'd still suggest mangling the swap partition. If you logon straight to X, go back to single user mode - open a terminal, and enter "init 1".
After that "swapoff /dev/hda3" - then you can use fdisk to delete the partition, allocate it smaller, and create the DOS partition.
Use "mkswap /dev/hda3" and "swapon /dev/hda3" to make sure it works o.k., and reboot. Should be good to go.
The only question... If I make my DOS partition /dev/hda4 out of the swap space that will put it way out at the end of the drive... will that be ok for Lilo?
I have been thinking... If I did re-install (ooh hatefull thought) I could not install all of KDE and GNOME and just use fluxbox, Installing just enough of kde for the kde programs I love- kde office, kshiesen, kpat just enogh gnome for gnomegames (wish I could get small stand-alone spreadsheet, I would use amiword, is there a small stand-alone solitair card game. anyway I would still want kshiesen. bleah.
I will try the cut swap in half route first though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.