LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2013, 08:51 PM   #1
Mimzy
LQ Newbie
 
Registered: Jun 2013
Distribution: Ubuntu
Posts: 6

Rep: Reputation: Disabled
I cannot save settings on Ubuntu 13.04. Installed from USB.


Title pretty much says it all. Yesterday I booted from USB, then installed alongside Windows 7. No matter what I do, settings such as brightness or touchpad speed are never saved. How do I fix this?
 
Old 06-16-2013, 11:07 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,976

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
The behavior you describe would be expected from running a Live CD from flash. What software did you use to create the bootable flash? Did the installation process proceed without error? Did you get a message at the end of the install indicating it had completed and to reboot?

Boot Ubuntu and run the following command from a terminal and post the output: sudo fdisk -l (Lower Case Letter L in the command)
df -h
 
Old 06-16-2013, 11:37 PM   #3
Mimzy
LQ Newbie
 
Registered: Jun 2013
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
The behavior you describe would be expected from running a Live CD from flash. What software did you use to create the bootable flash? Did the installation process proceed without error? Did you get a message at the end of the install indicating it had completed and to reboot?

Boot Ubuntu and run the following command from a terminal and post the output: sudo fdisk -l (Lower Case Letter L in the command)
df -h
I used http://www.pendrivelinux.com/ to create the bootable flash. The installation process went flawlessly, as far as I can tell. I did get a message to reboot.

This is the output:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf5799e97

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 3074047 1536000 27 Hidden NTFS WinRE
/dev/sda2 3074048 411836822 204381387+ 7 HPFS/NTFS/exFAT
/dev/sda3 600561664 625141759 12290048 17 Hidden HPFS/NTFS
/dev/sda4 411838462 600561663 94361601 5 Extended
/dev/sda5 411838464 594552831 91357184 83 Linux
/dev/sda6 594554880 600561663 3003392 82 Linux swap / Solaris

Partition table entries are not in disk order


and:


Filesystem Size Used Avail Use% Mounted on
/dev/sda5 86G 5.6G 76G 7% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.5G 4.0K 1.5G 1% /dev
tmpfs 290M 1.2M 289M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.5G 448K 1.5G 1% /run/shm
none 100M 20K 100M 1% /run/user
 
Old 06-17-2013, 01:37 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,976

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
Your fdisk output shows the installation on your hard drive on sda5 so if you are booting that you should not have the problem. Basic question, you don't have the flash drive still plugged in do you?

I would go to the /etc/fstab file and find the entry for the filesystem which will have a line with the / (root filesystem) symbol as in the example below. Post that.

Quote:
UUID=2ae95530-a3d7-43e7-a160-3ef4da2a5904 / ext4 defaults 1 1
The sample above shows a uuid so if you have a uuid there rather than /dev/sda5, run the command "blkid" w/o quotes and check it against the uuid in fstab file.

Do you get any warning/error messages when you try to make the changes or does it seem to work?
 
Old 06-17-2013, 07:53 PM   #5
Mimzy
LQ Newbie
 
Registered: Jun 2013
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Your fdisk output shows the installation on your hard drive on sda5 so if you are booting that you should not have the problem. Basic question, you don't have the flash drive still plugged in do you?

I would go to the /etc/fstab file and find the entry for the filesystem which will have a line with the / (root filesystem) symbol as in the example below. Post that.



The sample above shows a uuid so if you have a uuid there rather than /dev/sda5, run the command "blkid" w/o quotes and check it against the uuid in fstab file.

Do you get any warning/error messages when you try to make the changes or does it seem to work?
I do not have the flash drive still plugged in. When I ran "blkid", it seemed to work, and this is the output:

/dev/sda5

Last edited by Mimzy; 06-17-2013 at 07:54 PM.
 
Old 06-17-2013, 08:40 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,976

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
You forgot to post the line for sda5 from the /etc/fstab file which shows the options related to that partition and that is the information needed.

I doubt the output of blkid just shows /dev/sda5. Below is an example of what you would see. There's nothing to 'work' about the command, it just provides information.

Quote:
/dev/sda5: UUID="47891df9-aa27-4df9-99ac-aa96276780ac" TYPE="ext4"
The fstab file probably has a UUID entry for sda5 and you need to compare it to the sda5 uuid from the blkid command.
Are you using Unity Desktop Environment? How are you trying to make the changes you refer to in your first post, the brightness and touchpad?
Do you get any warning or error messages?
 
Old 06-17-2013, 08:49 PM   #7
Mimzy
LQ Newbie
 
Registered: Jun 2013
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
You forgot to post the line for sda5 from the /etc/fstab file which shows the options related to that partition and that is the information needed.

I doubt the output of blkid just shows /dev/sda5. Below is an example of what you would see. There's nothing to 'work' about the command, it just provides information.



The fstab file probably has a UUID entry for sda5 and you need to compare it to the sda5 uuid from the blkid command.
Are you using Unity Desktop Environment? How are you trying to make the changes you refer to in your first post, the brightness and touchpad?
Do you get any warning or error messages?
Okay, this is the information in the /etc/fstab file:


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=48a799a6-ba12-46f9-9198-b83b6b00f047 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=7315c2fc-a6a0-4668-90e3-40e5627e2fe6 none swap sw 0 0



This is the info that comes out of blkid:


/dev/sda1: LABEL="System" UUID="E246CEA646CE7AB5" TYPE="ntfs"
/dev/sda2: LABEL="TI106033W0C" UUID="46FEF4A5FEF48E85" TYPE="ntfs"
/dev/sda3: LABEL="HDDRECOVERY" UUID="9E08F41008F3E565" TYPE="ntfs"
/dev/sda5: UUID="48a799a6-ba12-46f9-9198-b83b6b00f047" TYPE="ext4"
/dev/sda6: UUID="7315c2fc-a6a0-4668-90e3-40e5627e2fe6" TYPE="swap"


I am using the Unity desktop environment. I've been making the changes by going to "Brightness & lock" and "Mouse and touchpad" in the dash.
 
Old 06-17-2013, 09:30 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,976

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
I don't see anything in your fstab that would be the problem. Not sure why it wouldn't work. Have you gone to the Ubuntu forums? I googled the problem with brightness and lock and got a number of hits.

Last edited by yancek; 06-17-2013 at 09:35 PM.
 
Old 06-17-2013, 09:48 PM   #9
Mimzy
LQ Newbie
 
Registered: Jun 2013
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
I have gone to the Ubuntu forums, but I rarely get many replies. Thank you very much for trying to help me!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to save changes on Ubuntu installed in usb miros84 Linux - Software 2 11-15-2010 11:48 PM
How to save settings in Ubuntu 10.04 sanjayagayan Linux - Newbie 1 08-06-2010 10:36 PM
iptables-save can't save settings Actionscript3 Linux - Software 4 01-29-2009 11:26 AM
Cant save my the screen resolution settings on ubuntu 8.10 wanas Linux - Hardware 1 11-12-2008 06:00 PM
How Can I Save Settings When I Uninstall Ubuntu? davidx Linux - Software 1 11-04-2008 11:30 AM


All times are GMT -5. The time now is 01:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration