Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Whitebox Geforce4mx
Robert83
post Mar 23 2004, 03:18 AM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



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


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
Robert83
post Mar 23 2004, 04:39 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



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


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 23 2004, 08:03 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



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).


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 05:51 PM