Help - Search - Members - Calendar
Full Version: Whitebox Geforce4mx
Linuxhelp > Support > Technical Support
Robert83
Hi,

well I've decided on installing the mythtv on a different clean system, and I've ran into the following problem

i've updated the system

installed the kernel source

installed the latest video driver from www.nvidia.com

and once x boots up I can see the cursor , I can move the mouse, but no background , icons, anything will show up, [if I start x from level 3 , with startx]

but if I start x normaly [level5] the screen turns white, and the place where you're supposed to enter the username/password is even whiter

I've got in Load Modules glx and the rest ... the dri is removed [as told by the nvidia documentation]

anyone had this kind of problem ?

Sincerely
Robert B
Robert83
If I really screwed up the system again... please tell me how can I take 2GB from my / [30GB] , what tools to use, since I can't boot X with vesa now nor nv....

i've did a modprobe nvidia

i've checked /lib/modules/drivers/video and there is a nvidia.o


Sincerely
Robert B
hughesjr
Making you partition smaller should be easy, but parted doesn't work with EXT3 (like it says it will), so it is harder.

While booted up in the system. Do the command:

df
CODE
[root@WhiteBoxLinux root]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda6             15488716   6108104   8593832  42% /

Write down the number of 1K blocks in the filesystem you want to shrink...in my case, the number is 15488716.

Now, issue the command:

fdisk -l drive

For me it is the command:
CODE
[root@WhiteBoxLinux root]# fdisk -l /dev/sda

Disk /dev/sda: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        17    136521   83  Linux
/dev/sda2            18       148   1052257+  82  Linux swap
/dev/sda3           149      2106  15727635   83  Linux
/dev/sda4          2107      8924  54765585    5  Extended
/dev/sda5          2107      3566  11727418+  83  Linux
/dev/sda6          3567      5525  15735636   83  Linux
/dev/sda7          5526      6742   9775521   83  Linux


Now write down the start, stop and blocks of in the partition in question ... in my case:
/dev/sda6 3567 5525 15735636

Now we have to do some calculations ....
----------------------------
There are (1024*1024) 1KB blocks in 1GB ... or 1048576 blocks ... and we want to reduce the size of the file system (and then the partition) by 2GB ... so we want to reduce each by 2097152 blocks.

So for the FIlesystem it would be:

new_FS_size = 15488716 - 2097152
= 13391564
---------------------------
Now we have to figure out home many tracks we are using on the drive...for me it would be:

tracks = 5525-3567
=1958

and how many 1K Blocks per track
Blocks/track = 15735636 / 1958
=8036.586313

Now we want to calculate the new partition size ....

new_Partition_size = 15735636 - 2097152
=13638484

Now we want to find the new number of tracks for the partition:

new_tracks = 13638484 / 8036.586313
= 1697.04 ... so we will say 1698

Now I need to know my end point ... which will be the partition start point (3567) + the new tracks (1698) ... which is:

new_Partiton_end = 3567 + 1698
= 5265
-------------------------------
Now we are ready to boot the system with the Fedora Core 1 CD and change the file system then reduce the partition size.

At the Fedora Core boot prompt, type:

linux rescue

choose you county code, then choose SKIP to go to the console ...

Then I would use the command:

resizefs /dev/sda6 13391564
(use your new_FS_Size and your actual partition)

Now we need to shrink the partition ... we will do it with fdisk, like this:

fdisk /dev/sda

Now I would print the partition table ... for me I would delete partition 6 (d) then create partition 6 again (n), starting at the same start point it was (it is critical to start at the exact same point ... otherwise the partiton will be gone...), for me 3567 ... I would use an endpoint of 5265 (you would use your calculated new_Partiton_end)

after you are done, print the partition table (p), if the partition size is good (should be about 2 gb less than before) then write the partition table and exit (w)
------------
Now you should make sure the file system is exacly at the end of the new partition ... there are potentially slight differences between the FS and partition right now, so do this command:

resize2fs /dev/sda6
(substitute your partition for /dev/sda6)

All the actual must be done on unmounted partitions (which is why we booted from the FedoraCore1 CD).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.