All entries for April 2006

April 22, 2006

HOWTO get extra space on partition containing Fedora Core 5

Abstract: I had created a partition to hold Fedora Core 5, this was about 4GB, as the OS extended and grew I needed more space, i went on Windows and used Partiton Magic to take some space off the windows partition, that space became unused space… this is how I allocated this space in Fedora Core 5 so that it could be used by the Fedora OS.

[(works for me in Fedora core 5, might work in others – but I have not tested it – use at your own risk, no guarantee, no warranty, your milage may vary- might solve all your problems, might blow up your computer and cause a turnip to fall on you head at an unfortunate moment – you might want to look at other sources to ensure that this is right or help with any other problems you might have). Don't type the square brackets or what's in them. The situation here is based on when I needed more disk space… firstly I went into windows and then used partition magic to create some free space on my disk (10G), this tracks through what I did, some of the things here are based on advice I got from other, so thanks for the advice.]

[Log on as root in terminal]
[type:] fdisk -l
[then:] fdisk /dev/hda

[Now options will appear, you only need to enter in the letter and press enter]

n [this option means 'new']
[Now select] p

[it may do the number automatically, if it hasn't select one which wasn't used when you typed 'fdisk -l']

[it should automatically do the start and end position – if it doesn't then you will need to look at the fdisk -l values and select the first cylinder as one after your last partition before the gap and the last one as one before the next partion after the gap]

[type:] t

83 [this is a linux partion; assuming you want an ext2/3]

w [this writes – so make sure you are happy]

[you might need to restart now…(I did)]

[now go back into terminal after restart, log on as root again…] mkfs.ext2 /dev/hda4

pvcreate /dev/hda4

vgextend VolGroup00 /dev/hda4


[so now your new partition should be there and registering in the pvdisplay (physical volume display)]

[now type] lvm

[This is the logical volume manager]

[type:] vgs [this will show you the status of your logical volumes]

[this will show you the current volume groups. The default volume group is VolGroup00, this is what mine was set at, and probably yours too…]

[it may look like this]

VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz—n- 5G 32.00M

[OK, so when we used 'pvcreate /dev/hda4' above we created it as a physical volume, this now needs to be put in the volume group…type in]

vgextend VolGroup00 /dev/hda4

[to check back and make sure it's all cool type in:]


[Look at this against the first time you used vgs, it should now show another volume and the 'VFree' should have increased by the size of the new partition you put on earlier: /dev/hda4]

VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz—n- 5G 10.32G

[Now we resize the volume groups so that the free space can actually be used!... I added 10G in this example (and about that in real life) so now we need to get on it…]


lvextend -L +10G /dev/VolGroup00/LogVol00 /dev/hda4

[it'll now tell you that it's gone ok (I hope), if you type in:] vgs [then the free space amount should have been reduced, if it has, brill!]

[df results will be the same as before we started, so to get to the space so we can see it we need to go to the 'core'... get it?]

[Stick in the installation DVD, or if you used CDs I think you'll need the first one, boot with the cd/DVD… you might need to access your BIOS settings and make sure that the cd/dvd drive is what it boots to first – I don't know because thats the setting I have as a default anyway – if this is the case, and I think it might then you might be able to just press F12 and select it – although thats not supported on all systems I don't think]

[Press:] F5
[Then type:] linux rescue

[Select your language, I'll assume english will work if your reading this, and the keyboard system you want to use]
[you will now need to aviod mounting disks and systems so select "skip" because you want to avoid mounting or booting]

[a command line should now be in front of you]

[now type:]
lvm vgchange -a y VolGroup00


lvm lvchange -a y /dev/VolGroup00/LogVol00

[Then check everything is cool by using the next command, this will take a little while, but let it run:]

e2fsck -f /dev/VolGroup00/LogVol00

[Then type:]

resize2fs /dev/VolGroup00/LogVol00

[take out the cd and reboot. It should all be working now, free space should be viewable in your home folder and everything should be great :), hope it helped]

April 19, 2006

Fedora Core 5 repositories

I want to set down some clear and simple advice on what the best way to get going on Fedora core 5 (bordeux). There are lots of good sites out there already which deal with this subject matter but I often find that there is an implicit assumption that you know how to get from one step to the next. To this end I want to try and make a complete little how-to, perhaps even a series of them…

Firstly by way of a preamble Fedora core 5 is the latest fedora release. Fedora being a distribution of linux which is free (beer and speach – although thats sometimes doubted). Fedora works within the Red Hat project and it is also a nice place to start on linux. Unfortunately Fedora does not contain inbuilt support for many things which would be useful (like mp3) because they only support open formats.
After installing Fedora on your computer (a good how to can be found at this link as well as the download iso) you will be taken through a walk through about getting some set-up things done (oh, and if you use windows DON'T set it to use UCT). I have a widescreen laptop and this created some difficulty, what I found it best to do was set the resolution of the screen as if it was 1024×768 and then it seems to work. When I set it to the true widesceen format the text looked disjointed and was hard to read…

*don't type what is in square brackets…

Anywho, with that done you'll want to update your yum configuration, to do that open up a terminal (its under accessories at the top left) and type: su – [then press enter]
[enter your root password]
[you should now be as root, type:] yum update

This should update all of your softaware that you have put on, either in the installation or since

now would be a good time to add another repository (this is a really easy place to get software from)

go to the terminal again, become (if you are not already) root (with the 'su -' command)

[type] rpm -ivh http:/ /
[I had to put in a space because otherwise it just came up as 'link', obviously copy this into terminal and just delete the space in the '..://rpm…']

this shoudl install the livna repository without any problems, if it asks you is it is ok to proceed, just press 'y' then enter

ok, now it might be a good idea to install anti virus software, so type in terminal, as root:

yum search 'clamav'
[will continue later when I can actually be bothered to look up the specific commands, if you know how to use terminal, clamav is great…..]

April 01, 2006

New society?

I am thinking of trying to get together some kind of society where people can share open software and what have you, does anyone think this is a good idea? I got thinking about it because I was wanting to download Slackware but the thought of downloading 4.7 gig is a little daunting on a connection this slow (also I can't make use of the official torrent). Maybe some kind of message board system where people say what iso's or dvd's etc. they have that they could share. Could also spread the open source message round campus. It's currently just an idea, but as I say, any thoughts?

(or does this already exist within a computer society?)

AJAX Sketch

Writing about web page

Another week, another XML based program.

AJAX sketch is from the same people who brought you AJAX write and is based on the same principles, it uses an open format in a free (beer!) way. Use it to create interesting pictures, although the extent to which you can do anything too impressive at the moment is debatable. The first splash screen looks impressive, but I don't seem to be able to get a similar level of functionality out of it. It feels a little sluggish and the selection method can be a hassle. I would have preferred something similar to One Note in the selection method, which is to say clicking and dragging a box over what you wish to select. That said this too is a “0.9” version release, so there could well be better things to come. Better still you don't need to update because it's all based on–line so you always get access to the newest version. Give it a go. Try AJAX Write. They might not replace your current applications that you use at the moment, but if this is the future (the “web 2.0” – if there ever will be such a clear division) then it is at least a good omen.

April 2006

Mo Tu We Th Fr Sa Su
Mar |  Today  | May
               1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search this blog


Most recent comments

  • Thanks once again worked quite a couple times! by bmb on this entry
  • nice post commenting out the 'example' line and inserting country code did it for me. thanks Pete by pete on this entry
  • In a single word SUPERB….. Hope this ll be best guide for initial phase users like us.. Thank you … by vicks on this entry
  • I did as posted I have no file /etc/clamd.conf I am now using yum install clamav. still at a loss. I… by Chris on this entry
  • You have to put a # infront of the line that begins with EXAMPLE in /etc/clamd.conf Running freshcla… by john doe on this entry

Blog archive

Not signed in
Sign in

Powered by BlogBuilder