Ubuntu 2.6.31-19-generic monitor change

NoOp glgxg at sbcglobal.net
Fri Apr 30 18:17:08 UTC 2010


On 04/30/2010 05:39 AM, lazer1 wrote:
> On 29-Apr-10, NoOp wrote:
...
>>From the liveCD.
> 
>>Open a terminal and then:
> 
>>$ sudo fdisk -l
> 
> I get an error message:
> 
> fdisk: invalid option -- 'l'
> 
> Usage: ......

Make sure that is a lowercase L (l).

$ sudo fdisk -l

That works from any liveCD that I've used. And just to be sure I booted
up a 9.10 liveCD and tested. Works just fine:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu at ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x82208220

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4865    39078081    7  HPFS/NTFS

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x03007c89

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1366    10972363+  83  Linux
/dev/sdb2            1367        4865    28105717+   5  Extended
/dev/sdb5            4679        4865     1502046   82  Linux swap / Solaris
/dev/sdb6            1367        2691    10642999+  83  Linux
/dev/sdb7            4536        4678     1148616   82  Linux swap / Solaris
/dev/sdb8            2692        4452    14145201   83  Linux
/dev/sdb9            4453        4535      666666   82  Linux swap / Solaris

Partition table entries are not in disk order
ubuntu at ubuntu:~$

And mounting:
$ sudo mount /dev/sdb6/ /mnt
ubuntu at ubuntu:~$ ls /mnt
bin    dev   initrd.img      lost+found  opt   sbin     sys  var
boot   etc   initrd.img.old  media       proc  selinux  tmp  vmlinuz
cdrom  home  lib             mnt         root  srv      usr  vmlinuz.old

Also, (again with the liveCD) if you still have issue with 'fdisk -l',
you can mount the partitions using 'Places|<somesize> Filesystem', and
then open nautilus in superuser mode (Alt-F2: gksu nautilus). From there
you go to /etc/X11 on the partition, right-click in white-space in the
folder/file pane (right pane) and select 'Create Document|Empty File'.
Now double-click on the 'new file' and that will open it in gedit (in
superuser mode), you can then create whatever xorg.conf needed and save
as xorg.conf. *Warning:* using nautilus in superuser mode allows you to
r/w to the partition, so use with caution as if you don't know what you
are doing you may overwrite and/or delete critical system files.

The basic default is:
Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

That said, I was just reading the 10.04 release notes (yes I know you
are working on 9.10) and in the "Window corruption with older ATI
graphics cards" they provide advise for creating an xorg.conf from the
cli. You might have a look:
http://www.ubuntu.com/getubuntu/releasenotes/1004
and give that a shot. You'd need to manually edit using 'sudo nano
/etc/X11/xorg.conf' to put your config lines in.





More information about the ubuntu-users mailing list