Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Master of Reality on 1 April 2002, 03:48

Title: save my partition table!!!!
Post by: Master of Reality on 1 April 2002, 03:48
okay, i'm gonna try to re-install linux, but first i need to know if i can resize my win (fat32) partition without having to format and lose my data, with diskdrake?

bootloading: i have mylinux partition on hda3, my win partition on hda1. so, if i install LILO on hda1 can i use it to load either linux or win?

[ May 16, 2002: Message edited by: Master of Reality ]

Title: save my partition table!!!!
Post by: asdf on 1 April 2002, 04:11
FIPS is a good non-destructive partition-splitting program. It's very well documented, do a search on google.

As far as bootloading goes, install LILO in the MBR. That way you can choose between Linux and Windows when you boot.
Title: save my partition table!!!!
Post by: Master of Reality on 1 April 2002, 05:19
so, can diskdrake resize my win partition without making me lose my data?

i tried getting partition magic, but i accidentally got some special server records/drivers for a huge non-monopolistic company (he he). The trial version of parition magic is corrupted when you dl it from www.powerquest.com (http://www.powerquest.com)
Title: save my partition table!!!!
Post by: jtpenrod on 1 April 2002, 08:07
quote:
so, can diskdrake resize my win partition without making me lose my data?
Absolutely! This is not a problem at all as I've done it. Here's how I would do it. First of all, run scandisk to make certain that there are no bad blocks on your HD. Do this from DOS as it takes a dog's age if you start it from Windows. This will save time since you can then skip this step when doing the Linux install. Next, I'd take a good look at the "Hidden Files" feature article. There is an awful lot of garbage that you can get rid of to free up more disk space for Linux. Next, run defrag from Windows, not the DOS command prompt. Do it from Windows to prevent the loss of all the long file names. You can use Windows Explorer to see how much space Win is taking up so you don't accidentally overwrite any data.

Start the Mandrake install in "expert" mode so that you are able to do the actual partition resizing once you select that option. You can set up the Linux parts in whatever file system you want to use: ext2, ext3, ReiserFS (I think?) - I'd select one of the journaling systens (ext3 or Reiser) it comes in handy if you lose power, and it seems to be somewhat faster than ext2. There really isn't any more to it than that.

It's also a good idea to tell the installer that you'd like to select your own boot loader. My preference is GRUB instead of LILO. GRUB will automatically detect the presence of Win, and add it to the boot menu.

One extra precaution that I would recommend is that once Mandrake is up and running, is go to the Mandrake Control Center -> hardware -> mount points, and take a few megabytes or so off the VFAT part, leaving free space between the VFAT and Linux parts. I've had problems with overlap errors that can ruin both parts if you ever run defrag again. You can either leave the free space, or if you have Partition Magic, use it to resize the VFAT part back into the free space to eliminate any partition overlaps.
________________________________

Powered by Mandrake Linux and Freedom
Computers are like air conditioners: they can't do their jobs if you open windows.
(http://fuckmicrosoft.com/images/fuckmail.gif)
Sorry, jptenrod, this image was linking to MSN. I HAD to change it...

[ May 22, 2002: Message edited by: Calum ]

Title: save my partition table!!!!
Post by: Master of Reality on 1 April 2002, 08:31
one more thing, whats the difference between ext2 and ext3 filesystems?

[ March 31, 2002: Message edited by: Druaga ]

Title: save my partition table!!!!
Post by: asdf on 1 April 2002, 08:59
ext2 is the "standard". ext3 is a newer version, it's a journalling file system, meaning that if your computer crashes you won't need to fsck it - it just recovers the journal. It is backwards compatible - you should go for ext3.

I use reiser, IMHO its better..
Title: save my partition table!!!!
Post by: Master of Reality on 1 April 2002, 09:41
well, according to windows, there is not enough memory to run defrag, I have 80MB RAM i went into msconfig turned off most things that run at startup (e.g. Zone Alarm). Turned off EVERYTHING,
so windows in itself takes up too much memory to run defrag, but under system properties>performance it says i have something like 98% resources free.
Title: save my partition table!!!!
Post by: Calum on 1 April 2002, 15:50
if i were you, i'd use a utility called PQMAGICT.EXE
i found it on my old partition magic 4.01 CD, and it runs in DOS.
it is non destructive and very easy and fast to use.
the problem for you is getting it.
when you run it (i run dos from a floppy, and pqmagict.exe from the cd) it doesn't ask for any passwords or security keys or anything. maybe this is because i already have partmagic installed on the hard drive, but i think not since, as i say i am running both the OS and the program from external drives.
Maybe you could do a search using WinMX or a similar file sharing program just for the DOS program 'PQMAGICT.EXE' but i think mostly you will just find bundled warez of 'cracked' copies of partition magic.
you might get some kind soul to email it to you but as i said, i'm not sure of the legalities implied therein...
sorry, not too conclusive, but it's all i've got, basically, if you can get PQMAGICT.EXE, and can run DOS, do it, it works really well.
Title: save my partition table!!!!
Post by: Master of Reality on 10 May 2002, 23:29
how do i completely format a parition in Linux?
Title: save my partition table!!!!
Post by: iancom on 10 May 2002, 23:44
[assuming IDE disks!]

mke2fs /dev/hd??  : for ext2
mke2fs -j /dev/hd?? : for ext3

if you use -j you'll need to mount it with "-t ext3" to use the journalling, but you can still mount it as ext2 at any time if you need to.

If -j isn't working, check it's compiled into your kernel. I think support for ext3 was compiled in as default from RedHat 7.2 on. Don't know about Mandrake, but I'm fairly sure it's in 8.2.
Title: save my partition table!!!!
Post by: Master of Reality on 13 May 2002, 05:37
(i'm too lazy to start a new thread for this)

I installed redhat 7.2 and when i start up it says "invalid partition table".
Now just before i installed, i used a win98 boot floppy and did "fdisk /mbr" to get that damn EZbios off my computer.
I tried re-installing with several different partitioning schemes.
right now i have:
hda1 /boot
hda2 /swap
hda3 vfat
hdb1 /
hdb2 is just free space (no actual partition)
Title: save my partition table!!!!
Post by: voidmain on 13 May 2002, 06:31
After you wipe out sleEZy BIOS you'll need to delete any partitions on the drive, then create your new ones.
Title: save my partition table!!!!
Post by: Master of Reality on 14 May 2002, 01:00
I did delete all my partitions and then partitioned them with diskdruid (in the redhat install), that didnt work, so i tried partiting with fdisk and that didnt work either.

I tried to load slackware (after i installed and got the same error message) from a boot disk and it says "kernel panic: VFS: error while trying to mount root fs".

I tried repartitioning the hard drive and installing slackware on only my first hard drive, but that didnt work.
---
is it just me, or do i really have the worst computer problems around here?

[ May 13, 2002: Message edited by: Master of Reality ]

Title: save my partition table!!!!
Post by: Calum on 14 May 2002, 01:17
i wish i could just run you off a copy of partition magic 4, as i say, it has the best DOS running partition tool, you just use a DOS bootdisk and run it off the CD, thereby leaving nothing accessing the hard drive to interfere with the process. That's the problem with these non-GPL programs though, always on the take.

Anyway, i saw partitionmagic 5, the full version, totally registered, no nagscreen, no crippleware, free on a cover CD as abandonware the other day! that throws a new light on my worrying about copying partition magic 4 for people... Still, sorry it doesn't help you more, since i am unlikely to bump into you to give you a copy of this CD.
Title: save my partition table!!!!
Post by: voidmain on 14 May 2002, 03:48
If Linux is having problems with your partition table then you probably have something set up wrong.  Is it set properly in the BIOS?  Or you didn't run the EZ-BIOS utility to wipe out the boot sector and partition table.

[ May 13, 2002: Message edited by: VoidMain ]

Title: save my partition table!!!!
Post by: Master of Reality on 14 May 2002, 06:08
quote:
Originally posted by VoidMain:
If Linux is having problems with your partition table then you probably have something set up wrong.  Is it set properly in the BIOS?  Or you didn't run the EZ-BIOS utility to wipe out the boot sector and partition table.

[ May 13, 2002: Message edited by: VoidMain ]


run EZ-BIOS utility to wipe out boot sector and partition table?.. huh?
I'm not sure how it could be set wrong in the bios, but i checked it out and everything in there looked fine.
Title: save my partition table!!!!
Post by: voidmain on 14 May 2002, 08:13
What drive do you have (make/model) and what are your BIOS settings? I.E. Cylinders/Sectors Per Track/Heads/LBA/etc. Also, who makes your BIOS and what is the release date?

[ May 13, 2002: Message edited by: VoidMain ]

Title: save my partition table!!!!
Post by: Master of Reality on 15 May 2002, 07:53
my 40GB hd (hdb) is a Maxtor D540X:
actual cyls: 79,408
max cyls: 16,383
sect: 63
heads: 16

My other HD (hda) is an older Maxtor Fireball 2.55GB.

I tried having installing completely on one hard drive and then the other, to see if anythin was wrong with specifically one of them.

[ May 14, 2002: Message edited by: Master of Reality ]

Title: save my partition table!!!!
Post by: Master of Reality on 15 May 2002, 07:58
BIOS: amibios version 1.21.06
http://www.ami.com/products/specsheet.cfm?DLFILE=amibiosdesktop.txt&CatID=6&ProdID=54 (http://www.ami.com/products/specsheet.cfm?DLFILE=amibiosdesktop.txt&CatID=6&ProdID=54)

[ May 14, 2002: Message edited by: Master of Reality ]

Title: save my partition table!!!!
Post by: voidmain on 17 May 2002, 23:20
Take a look at this:

http://www.win.tue.nl/~aeb/linux/Large-Disk-11.html#ss11.3 (http://www.win.tue.nl/~aeb/linux/Large-Disk-11.html#ss11.3)

There is a section on the D540X specifically.  Don't know if it will help.  Also I am curious if the number of cylinders is causing a problem.  With the new IDE drives you can change the drive type in your BIOS to "User Defined", then reduce the number of cylinders and increase other params. I did this on my new machine and it worked like a champ.  As long as the total drive size comes out the same that's all that matters. i.e. your current settings are:

79,408cyl * 63sectors * 16heads * 512 / 1024 = 40021632k

In the user defined section if you can increase the sectors and heads and reduce the number of cylinders to come out with the same 40021632k this may solve your problem. It did for me on a large drive. BTW, in the BIOS you can use whatever numbers you want as long as you don't go over the total capacity of the drive. The drive will translate everything properly to the physical geometry (IDE only).
Title: save my partition table!!!!
Post by: Master of Reality on 18 May 2002, 17:52
my BIOS is autodetecting the cylinders wrong, i will have to fix that by using the method you suggested
Title: save my partition table!!!!
Post by: Master of Reality on 22 May 2002, 01:53
just to follow up....
I tried changing the settings on my hard drive in the BIOS, but my BIOS is very odd and wouldnt let me change the values (no matter what i did). I used the EZ-BIOS utility to get the backup of my MBR before i installed EZ-BIOS and it worked. It now works fine.
Title: save my partition table!!!!
Post by: voidmain on 22 May 2002, 02:25
Ahhh, it *was* EZ-BIOS.  Yes, you must wipe out any partition info (more than just boot sector) from an EZ-BIOS install.  And the EZ-BIOS utility is generally the best way to do that. I thought you had already done that. EZ-BIOS is evil.
Title: save my partition table!!!!
Post by: Gooseberry Clock on 22 May 2002, 03:37
PartitionMagic: a much better site to get free software  (http://smile.gif)  (http://www.linuxiso.org)
[edit: i changed his link, so it would go to a helpful site full of free goodies]

[ May 21, 2002: Message edited by: Master of Reality ]

Title: save my partition table!!!!
Post by: voidmain on 22 May 2002, 05:39
You don't need partition magic to wipe out the EZ-BIOS data. EZ-BIOS software is all that is necessary.  And the Linux section is not the place to be selling your crazies and peddling your warez. Scram..

P.S. Could some semi-responsible moderator wipe out LooseCherry Bottocks warez link?

[ May 21, 2002: Message edited by: VoidMain ]

Title: save my partition table!!!!
Post by: Calum on 22 May 2002, 13:50
quote:
posted by VoidMain:
You don't need partition magic to wipe out the EZ-BIOS data. EZ-BIOS software is all that is necessary.  And the Linux section is not the place to be selling your crazies and peddling your warez. Scram..
P.S. Could some semi-responsible moderator wipe out LooseCherry Bottocks warez link?
i was about to but master of reality got there first! (too damn slow!!! maybe next time...)

As an aside, i saw the full install version of partition magic five on the cover CD of some magazine last week, as a free abandonware giveaway. Makes me feel odd about having this proprietary copy of partmagic 4 that i supposedly am not allowed to copy for anybody... eg: what if i got that free cover CD, would i be able to copy it for people, but not four? just idle musings.....

[ May 22, 2002: Message edited by: Calum ]