LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-03-2007, 08:11 AM   #16
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198

(1) you edited it in a terminal using nano? This suggests that your terminal - or, at least, the non gui one, has root. You may just have to make a user via the commandline... reboot to safe mode.

(2) OK... gotcha.

(3) That depends

(4) Thing is, part of the installation involves creating a user.

"pmd" = print working directory ... I wanted to know what user you were logged in as and with what privileges. Try:

cd ~
pwd

include the prompt

ls /home
... should be interesting

The cli to make a user is

useradd

(see the man page for its use)

Once you can login properly you can use the restricted driver manager to configure your graphics, connect to the web, etc.
 
Old 07-03-2007, 11:07 AM   #17
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
The first directory I'm in when in safe mode is /root.
Yes, a console is on when booted on recovery mode.

I've tried to add a user like this:

# useradd -p myPassword myUsername // suppose my user and pass are like this xD

When I go to normal mode, I try to login and nothing
 
Old 07-03-2007, 05:39 PM   #18
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
You wont get the graphics board working unless nvidia has a linux driver for it. thus 3d will not work unless a driver for it is written by the hardware vendor. There is no magic that will make it work.

The problems will be many for you I am afraid as with all my experiences with Linux and laptops that are built around windows. Don't worry tho things will catch up for you. I installed a distro of mepis a few month's ago and almost nothing worked for me on my laptop but there current one works out of the box with everything on my laptop working save the card reader.
 
Old 07-03-2007, 06:08 PM   #19
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
yea i know that but i need to configure the network so as to download the drivers from nvidia.com and install them, and only then i can edit the xorg.conf file again...

but first of it i need to get a way to add a user with every privilege (root aparently doesn't have 'em here) to configure wireless and LAN. like i said before, the command i entered won't help much... unless i've forgotten something, which is more likely xD
 
Old 07-03-2007, 09:10 PM   #20
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The nvidia driver comes in the feisty CD... once you have a normal account there is a tool to configure the driver.

Show me the result of

ls /home

(presumably done in rescue mode)

You can also

cat /etc/passwd

... and look for your new user account.

Last edited by Simon Bridge; 07-03-2007 at 09:15 PM.
 
Old 07-04-2007, 05:01 AM   #21
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
I have checked the /etc/passwd and my account is there. But it won't login... the system says I have a wrong user/password. I even tried adding a user with no password and it still won't do...

And by the way, i don't see the drivers on the CD, i'm searching for "nvidia" on windows. Is this the right CD? Because honestly I don't know if 7.04 is the "feisty" u always recall... oops :P
 
Old 07-04-2007, 05:47 AM   #22
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
passwords are case sensitive... create a user with password 1234.
You could also open /etc/shadow and remove everything between the first two colons after a username. Then try logging in as that user.

However... I am thinking you will have to reinstall. Keep a log of everything (yes... by hand) as you go. The installer is supposed to get you to create a user, as well as assign a name for the host etc.

Ubuntu releases are numbered after the release date (7.04 = April 2007). Since the actual release date may not be as planned, there is also a codename. Ubuntu 7.04 is also called "Feisty Fawn".

The package is probably called:
linux-restricted-modules-<something>.deb
... but it cannot help you outside a regular login.
 
Old 07-04-2007, 01:38 PM   #23
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
The CD ain't mounting ... :S something's not right here, i tried to access the content of the CD, output: "/mnt/hda doesn't exist" ain't hda for the hard drive?

i'm installing ubuntu again and i set the user

edit: eth0 is recognized

not to mention that i want my wireless too xD

Last edited by misstajah; 07-04-2007 at 03:14 PM.
 
Old 07-05-2007, 12:42 AM   #24
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Cool... now you have a regular user account things get easier:

System > Administration > Restricted Drivers Manager

You'll be asked for a password. See what it configures.

Ubuntu is a "rootless" system. The first user configured is the admin... that user gets to use sudo. It is, in practice, more secure this way... though it takes some getting used to.

"sudo su -" will got you a root terminal.
Get used to aptitude and synaptic, these are incredibly powerful tools.
Look through: http://ubuntuguide.org/wiki/Ubuntu_Feisty
 
Old 07-05-2007, 04:49 AM   #25
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
System -> Admin -> Restricted Drivers Manager says , after the password, that there's nothing to be done...

I went manually, got the .run file from nvidia. tried to install it, output: "you need libc libraries to create kernel interface." so i tried to install the libs from the feisty CD. I wrote the output in latest post about /dev/hda ...
 
Old 07-05-2007, 05:16 AM   #26
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
argh! Don't do that!

Possibly the driver manager is looking for a nv module instead of querying lspci. (I've gone 100% open source a while ago so I am losing touch with the tools.)

I don't trust the nvidia installer... anyway, you'll lose it next update.
I take it you are online with Ubuntu now?

System > Admin > Synaptic

search for "nvidia" and tag the packages appropriate to your system.
install. Then retry the driver manager.

Read the wiki link. You may want the Beta option.

Last edited by Simon Bridge; 07-05-2007 at 05:17 AM.
 
Old 07-05-2007, 12:44 PM   #27
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
The only thing missing was nvidia-glx... odd... else it would work normally with nothing of this...

Anyway, i thought about reinstalling some of the nvidia drivers on the feisty CD. I still need to mount the cdrom drive he just won't recognize it ... :S
Can't i just download from an ubuntu dropsource and get them or something, like for the add/remove programs?
 
Old 07-05-2007, 06:55 PM   #28
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I have covered this twice: post #24 and #26.
Read the wiki in the link.
 
Old 07-06-2007, 04:15 AM   #29
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
Still nothing
Code:
can't mount /media/cdrom: special device /dev/hda doesn't exist
I read all about mounting CD's and stuff, but still nothing
 
Old 07-06-2007, 04:46 AM   #30
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Feisty should automatically mount CDs ... you get an icon on your desktop. Show me your /etc/fstab and the content of /media

The error is because /dev/hda don't exist (well...) and it shouldn't.
The primary master ide will usually be sda, primary slave is sdb, etc. (In my case it is sde and sdf...)
Code:
simon@indigo-prime:~$ ls -l /dev/hd*
ls: /dev/hd*: No such file or directory
simon@indigo-prime:~$ ls -l /dev/sd*
brw-rw---- 1 root plugdev 8,  0 2007-06-21 02:38 /dev/sda
brw-rw---- 1 root plugdev 8, 16 2007-06-21 02:38 /dev/sdb
brw-rw---- 1 root plugdev 8, 32 2007-06-21 02:38 /dev/sdc
brw-rw---- 1 root plugdev 8, 48 2007-06-21 02:38 /dev/sdd
brw-rw---- 1 root disk    8, 64 2007-06-21 02:39 /dev/sde
brw-rw---- 1 root disk    8, 65 2007-06-21 02:39 /dev/sde1
brw-rw---- 1 root disk    8, 66 2007-06-21 02:39 /dev/sde2
brw-rw---- 1 root disk    8, 67 2007-06-21 02:39 /dev/sde3

simon@indigo-prime:~$ dmesg | grep cdrom
[47182.389383] cdrom: sr0: mrw address space DMA selected
simon@indigo-prime:~$ dmesg | grep sr0
[   33.776546] sr0: scsi3-mmc drive: 0x/52x writer cd/rw xa/form2 cdda tray
[   33.776600] sr 1:0:0:0: Attached scsi CD-ROM sr0

simon@indigo-prime:~$ cat /etc/fstab
# /etc/fstab: static file system information.
/dev/scd0       /media/cdrom0   udf,iso9660 user,unhide,noauto     0       0

simon@indigo-prime:~$ ls -l /dev/sc*
brw-rw---- 1 root cdrom 11, 0 2007-06-21 02:39 /dev/scd0
... so my cdrom is /dev/scd0 (As you see, things are different now.)

But the links I gave you are about installing that nvidia driver.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Geforce FX5200 AGP 8X graphics card invalid16940 Linux - Hardware 1 02-26-2007 07:45 AM
possible graphics card issue on startup sam_higton SUSE / openSUSE 2 07-28-2005 06:12 PM
Nvidia Geforce 4 Graphics card help guessme Linux - Hardware 2 07-07-2004 10:26 PM
New Geforce FX5900 graphics card - giant problems. Imek Linux - Hardware 3 04-06-2004 07:02 PM
GeForce 2 graphics card....... getting rid of the demons in my life :0 zetsui Linux - Software 3 03-13-2004 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration