Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3166 25430863+ c W95 FAT32 (LBA)
/dev/hda2 3825 4817 7976272+ 83 Linux
/dev/hda3 4818 4864 377527+ 5 Extended
/dev/hda4 3167 3824 5285385 83 Linux
/dev/hda5 4818 4864 377496 82 Linux swap / Solaris
Partition table entries are not in disk order
Q1. How can I edit "fstab" file in order for the sytem to mount "hda4" automatically at boot?
Q2. Can I combine "hda2" and "hda4" into a single partition? (See above)
FYI: I got "hda4" by using "gparted" to get some spaces from "Win XP" patition, "hda1".
Thanks in advance,
N.O
Last edited by nayoo on 2006-06-04 08:03, edited 1 time in total.
it should be possible, you just have to be careful about the values and numbers, and i think you'll have to do it from a cd or rescue disk with ext3, with reiser i know you can grow the filesystem on the fly
Eagles may soar, but weasels don't get sucked into jet engines...
I think I understand what you said. Last time I could not merge (or combine) two Linux partitions using "gparted" because I didn't do it from a disc. Now I realized (from your post) that I need a rescue disc to do it, and it is doable.
Since it is not very urgent to do it (combining two partitions), I'll leave it as it is now and may be I will do it one day.
Again, thanks for your suggestion and this matter is closed.
To merge your two partitions one way would simply be to copy the files from hda2/4 to the other one, then use a partitioner to delete one of them and resize the new one.
ajdlinux wrote:To merge your two partitions one way would simply be to copy the files from hda2/4 to the other one, then use a partitioner to delete one of them and resize the new one.
hda2 is my current Linux OS partition. hda4 was the result of resizing partition from hda1, Windows partition using gparted.
I tried to merge hda2 and hda4 using "gparted" from Linux. (i.e not from Disc). It was not successful. I tried it in last month. I did not try it yesterday.
So for the moment, hda4 is empty and is it possible to merge hda2 and hda4 using "gparted" from Linux(which is in hda2)? Or must I use "gparted" CD disc or Knopix live cd to merge?
FYI:
hda1 = windows partition
hda2 = my current Linux partition
hda4 = empty Linux partition
Now I know that I "must" use LiveCD (Knopix/gparted) to do this (merging hda2 and hda4) and I could not do it from Linux since hda2 is in use.
I'm thinking of leaving it as it is now because I still could use 50% of space of my hda2 and I could mount hda4 from fstab and could access and save my data there in future.
Anyway, thanks a lot for your clear explanations and suggestions.