Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: How to reinstall OS and keep settings?

  1. #1

    Question How to reinstall OS and keep settings?

    Ok, I posted earlier about Akonadi problems (http://ubuntuforums.org/showthread.p...7#post12585887) and apparently it's such a new program NO ONE knows how to troubleshoot or fix it so I guess I have no choice but a fresh install to restore it. The trouble is I don't want to lose all my settings and installed themes, icons, styles etc. let alone my files in /home......

    Is there a way to do a fresh install/reinstall and KEEP all my settings? This is a kubuntu desktop environment over ubuntu-remix on a 64bit win8 OES machine. I have a separate /home partition. Thanks all!

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to reinstall OS and keep settings?

    If you have a separate /home, you can use manual install, choose existing / (root) partition for new root, choose format - ext4. Also choose the existing /home but DO NOT FORMAT it, just choose it. It should automatically find swap and choose to reinstall grub to MBR of same drive.

    IF you have installed a lot of apps you can export a list to make it easy to reinstall.
    from lovinglinux - use dpkg to list installed apps
    http://ubuntuforums.org/showpost.php...75&postcount=5
    http://kevin.vanzonneveld.net/techbl...selectupgrade/
    From old install
    dpkg --get-selections > ~/my-packages
    From New install
    sudo dpkg --set-selections < my-packages
    sudo apt-get -y update
    sudo apt-get dselect-upgrade

    But it is always best to have good backups and perhaps a few more things to include.

    Oldfred's list of stuff to backup May 2011:
    http://ubuntuforums.org/showthread.php?t=1748541

    More detail on /etc files to backup - post #3:
    http://ubuntuforums.org/showthread.php?t=1500559

    Some files to exclude from /home backup:
    http://ubuntuforums.org/showthread.php?t=1883834
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 17.10 Artful Aardvark

    Re: How to reinstall OS and keep settings?

    A better place to look for help with Akonadi is here: http://forum.kde.org/search.php

    Have you tried disabling it?

  4. #4
    Join Date
    Feb 2010
    Beans
    19

    Re: How to reinstall OS and keep settings?

    If I remeber correct, when I had problem with Akonadi it was a becaouse old incorrect akonadi agent configurations. You has the configuration interface in the akonadi console or in the akonadi configuration application
    Last edited by hainen; April 16th, 2013 at 08:29 PM.

  5. #5

    Re: How to reinstall OS and keep settings?

    Thank you OldFred I have been attempting to follow your directions and the directions in the links provided, but in my attempts to backup /home and /etc I cannot get ALL files to copy over. I have been attempting to copy/paste the folders over to an external hard drive, but I keep getting error messages, "could not read" or "could not enter" for certain files, like the "lost + found" file and various files in /etc. How do I get these folders to copy over COMPLETELY? Is there a better method to backup these files on my external HD? I haven't gone much further in the process since I'm kind of stuck here.

    Oldos2er: Thank you for your suggestion, but I couldn't find anything on that forumn that could help. I tried, uninstalling re-installing akonadi as well as recreating it, deleting it and restarting it etc... no dice

    Hainen: Thank you for your advice.... I don't understand though?
    You has the configuration interface in the akonadi console or in the akonadi configuration application
    I installed the console for akonadi, but it failed to start: "Failed to connect to database: Can't connect to local MySQL server through socket '/home/rachel/.local/share/akonadi/socket-Artax3ubuntu/mysql.socket' (2) QMYSQL: Unable to connect" and here's error report:

    Code:
    Akonadi Server Self-Test Report
    ===============================
    
    
    Test 1:  SUCCESS
    --------
    
    
    Database driver found.
    Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.
    
    
    File content of '/home/rachel/.config/akonadi/akonadiserverrc':
    [%General]
    Driver=QMYSQL
    
    
    [QMYSQL]
    Name=akonadi
    Host=
    Options="UNIX_SOCKET=/home/rachel/.local/share/akonadi/socket-Artax3ubuntu/mysql.socket"
    ServerPath=/usr/sbin/mysqld-akonadi
    StartServer=true
    
    
    
    
    Test 2:  SUCCESS
    --------
    
    
    Akonadi is not running as root
    Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.
    
    
    Test 3:  SUCCESS
    --------
    
    
    MySQL server found.
    Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld-akonadi'.
    Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution.
    
    
    Test 4:  SUCCESS
    --------
    
    
    MySQL server is executable.
    Details: MySQL server found: /usr/sbin/mysqld  Ver 5.5.29-0ubuntu0.12.10.1 for debian-linux-gnu on x86_64 ((Ubuntu))
    
    
    
    
    Test 5:  SUCCESS
    --------
    
    
    No current MySQL error log found.
    Details: The MySQL server did not report any errors during this startup. The log can be found in '/home/rachel/.local/share/akonadi/db_data/mysql.err'.
    
    
    Test 6:  SUCCESS
    --------
    
    
    MySQL server default configuration found.
    Details: The default configuration for the MySQL server was found and is readable at <a href='/etc/akonadi/mysql-global.conf'>/etc/akonadi/mysql-global.conf</a>.
    
    
    File content of '/etc/akonadi/mysql-global.conf':
    #
    # Global Akonadi MySQL server settings,
    # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
    #
    # Based on advice by Kris Köhntopp <kris@mysql.com>
    #
    [mysqld]
    
    
    # strict query parsing/interpretation
    # TODO: make Akonadi work with those settings enabled
    # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
    # sql_mode=strict_trans_tables
    
    
    # DEBUGGING:
    # log all queries, useful for debugging but generates an enormous amount of data
    # log=mysql.full
    # log queries slower than n seconds, log file name relative to datadir (for debugging only)
    # log_slow_queries=mysql.slow
    # long_query_time=1
    # log queries not using indices, debug only, disable for production use
    # log_queries_not_using_indexes=1
    #
    # mesure database size and adjust innodb_buffer_pool_size
    # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
    
    
    # NOTES:
    # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
    
    
    #expire_logs_days=3
    
    
    #sync_bin_log=0
    
    
    # Use UTF-8 encoding for tables
    character_set_server=utf8
    collation_server=utf8_general_ci
    
    
    # use InnoDB for transactions and better crash recovery
    default_storage_engine=innodb
    
    
    # memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
    innodb_additional_mem_pool_size=1M
    
    
    # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
    # Larger values means less I/O
    innodb_buffer_pool_size=80M
    
    
    # Create a .ibd file for each table (default:0)
    innodb_file_per_table=1
    
    
    # Write out the log buffer to the log file at each commit (default:1)
    innodb_flush_log_at_trx_commit=2
    
    
    # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
    # larger values means less I/O
    innodb_log_buffer_size=1M
    
    
    # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
    innodb_log_file_size=64M
    
    
    # # error log file name, relative to datadir (default:hostname.err)
    log_error=mysql.err
    
    
    # print warnings and connection errors (default:1)
    log_warnings=2
    
    
    # Convert table named to lowercase
    lower_case_table_names=1
    
    
    # Maximum size of one packet or any generated/intermediate string. (default:1M)
    max_allowed_packet=32M
    
    
    # Maximum simultaneous connections allowed (default:100)
    max_connections=256
    
    
    # The two options below make no sense with prepared statements and/or transactions
    # (make sense when having the same query multiple times)
    
    
    # Memory allocated for caching query results (default:0 (disabled))
    query_cache_size=0
    
    
    # Do not cache results (default:1)
    query_cache_type=0
    
    
    # Do not use the privileges mechanisms
    skip_grant_tables
    
    
    # Do not listen for TCP/IP connections at all
    skip_networking
    
    
    # The number of open tables for all threads. (default:64)
    table_cache=200
    
    
    # How many threads the server should cache for reuse (default:0)
    thread_cache_size=3
    
    
    # wait 365d before dropping the DB connection (default:8h)
    wait_timeout=31536000
    
    
    [client]
    default-character-set=utf8
    
    
    
    
    Test 7:  SKIP
    --------
    
    
    MySQL server custom configuration not available.
    Details: The custom configuration for the MySQL server was not found but is optional.
    
    
    Test 8:  SUCCESS
    --------
    
    
    MySQL server configuration is usable.
    Details: The MySQL server configuration was found at <a href='/home/rachel/.local/share/akonadi/mysql.conf'>/home/rachel/.local/share/akonadi/mysql.conf</a> and is readable.
    
    
    File content of '/home/rachel/.local/share/akonadi/mysql.conf':
    #
    # Global Akonadi MySQL server settings,
    # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
    #
    # Based on advice by Kris Köhntopp <kris@mysql.com>
    #
    [mysqld]
    
    
    # strict query parsing/interpretation
    # TODO: make Akonadi work with those settings enabled
    # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
    # sql_mode=strict_trans_tables
    
    
    # DEBUGGING:
    # log all queries, useful for debugging but generates an enormous amount of data
    # log=mysql.full
    # log queries slower than n seconds, log file name relative to datadir (for debugging only)
    # log_slow_queries=mysql.slow
    # long_query_time=1
    # log queries not using indices, debug only, disable for production use
    # log_queries_not_using_indexes=1
    #
    # mesure database size and adjust innodb_buffer_pool_size
    # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
    
    
    # NOTES:
    # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
    
    
    #expire_logs_days=3
    
    
    #sync_bin_log=0
    
    
    # Use UTF-8 encoding for tables
    character_set_server=utf8
    collation_server=utf8_general_ci
    
    
    # use InnoDB for transactions and better crash recovery
    default_storage_engine=innodb
    
    
    # memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
    innodb_additional_mem_pool_size=1M
    
    
    # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
    # Larger values means less I/O
    innodb_buffer_pool_size=80M
    
    
    # Create a .ibd file for each table (default:0)
    innodb_file_per_table=1
    
    
    # Write out the log buffer to the log file at each commit (default:1)
    innodb_flush_log_at_trx_commit=2
    
    
    # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
    # larger values means less I/O
    innodb_log_buffer_size=1M
    
    
    # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
    innodb_log_file_size=64M
    
    
    # # error log file name, relative to datadir (default:hostname.err)
    log_error=mysql.err
    
    
    # print warnings and connection errors (default:1)
    log_warnings=2
    
    
    # Convert table named to lowercase
    lower_case_table_names=1
    
    
    # Maximum size of one packet or any generated/intermediate string. (default:1M)
    max_allowed_packet=32M
    
    
    # Maximum simultaneous connections allowed (default:100)
    max_connections=256
    
    
    # The two options below make no sense with prepared statements and/or transactions
    # (make sense when having the same query multiple times)
    
    
    # Memory allocated for caching query results (default:0 (disabled))
    query_cache_size=0
    
    
    # Do not cache results (default:1)
    query_cache_type=0
    
    
    # Do not use the privileges mechanisms
    skip_grant_tables
    
    
    # Do not listen for TCP/IP connections at all
    skip_networking
    
    
    # The number of open tables for all threads. (default:64)
    table_cache=200
    
    
    # How many threads the server should cache for reuse (default:0)
    thread_cache_size=3
    
    
    # wait 365d before dropping the DB connection (default:8h)
    wait_timeout=31536000
    
    
    [client]
    default-character-set=utf8
    
    
    
    
    Test 9:  SUCCESS
    --------
    
    
    akonadictl found and usable
    Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
    Result:
    Akonadi 1.8.1
    
    
    
    
    Test 10:  ERROR
    --------
    
    
    Akonadi control process not registered at D-Bus.
    Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
    
    
    Test 11:  ERROR
    --------
    
    
    Akonadi server process not registered at D-Bus.
    Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
    
    
    Test 12:  ERROR
    --------
    
    
    Nepomuk search service not registered at D-Bus.
    Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.
    
    
    Test 13:  SKIP
    --------
    
    
    Protocol version check not possible.
    Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.
    
    
    Test 14:  ERROR
    --------
    
    
    No resource agents found.
    Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/usr/share/kde-plasma:/usr/local/share/:/usr/share/'; make sure this includes all paths where Akonadi agents are installed.
    
    
    Directory listing of '/usr/share/akonadi/agents':
    akonadinepomukfeederagent.desktop
    akonotesresource.desktop
    archivemailagent.desktop
    birthdaysresource.desktop
    contactsresource.desktop
    davgroupwareresource.desktop
    facebookresource.desktop
    googlecalendarresource.desktop
    googlecontactsresource.desktop
    icalresource.desktop
    imapresource.desktop
    invitationsagent.desktop
    kabcresource.desktop
    kalarmdirresource.desktop
    kalarmresource.desktop
    kcalresource.desktop
    kdeaccountsresource.desktop
    knutresource.desktop
    kolabproxyresource.desktop
    localbookmarksresource.desktop
    maildirresource.desktop
    maildispatcheragent.desktop
    mailfilteragent.desktop
    mboxresource.desktop
    microblog.desktop
    mixedmaildirresource.desktop
    mtdummyresource.desktop
    nepomuktagresource.desktop
    nntpresource.desktop
    notesresource.desktop
    openxchangeresource.desktop
    pop3resource.desktop
    vcarddirresource.desktop
    vcardresource.desktop
    
    
    Environment variable XDG_DATA_DIRS is set to '/usr/share/kde-plasma:/usr/local/share/:/usr/share/'
    
    
    Test 15:  ERROR
    --------
    
    
    Current Akonadi server error log found.
    Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/rachel/.local/share/akonadi/akonadiserver.error'>/home/rachel/.local/share/akonadi/akonadiserver.error</a>.
    
    
    File content of '/home/rachel/.local/share/akonadi/akonadiserver.error':
    Database process exited unexpectedly during initial connection! 
    executable: "/usr/sbin/mysqld-akonadi" 
    arguments: ("--defaults-file=/home/rachel/.local/share/akonadi/mysql.conf", "--datadir=/home/rachel/.local/share/akonadi/db_data/", "--socket=/home/rachel/.local/share/akonadi/socket-Artax3ubuntu/mysql.socket") 
    stdout: "" 
    stderr: "130327  1:19:37 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
    
    
    130327  1:19:37 [ERROR] Aborting
    
    
    130327  1:19:37 [Note] /usr/sbin/mysqld: Shutdown complete
    
    
    " 
    exit code: 1 
    process error: "Unknown error" 
    "[
    0: akonadiserver() [0x4188c4]
    1: akonadiserver() [0x418c01]
    2: /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f2e972e54a0]
    3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f2e972e5425]
    4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f2e972e8b8b]
    5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7f2e98d984c2]
    6: akonadiserver() [0x41aafb]
    7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7f2e98e327c4]
    8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x11645f) [0x7f2e98e3d45f]
    9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f2e98e45a5b]
    10: akonadiserver() [0x48c7aa]
    11: akonadiserver() [0x41b857]
    12: akonadiserver() [0x41c7d5]
    13: akonadiserver() [0x41ddf7]
    14: akonadiserver() [0x411ce3]
    15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f2e972d076d]
    16: akonadiserver() [0x412641]
    ]
    " 
    
    
    
    
    Test 16:  ERROR
    --------
    
    
    Previous Akonadi server error log found.
    Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/rachel/.local/share/akonadi/akonadiserver.error.old'>/home/rachel/.local/share/akonadi/akonadiserver.error.old</a>.
    
    
    File content of '/home/rachel/.local/share/akonadi/akonadiserver.error.old':
    Database process exited unexpectedly during initial connection! 
    executable: "/usr/sbin/mysqld-akonadi" 
    arguments: ("--defaults-file=/home/rachel/.local/share/akonadi/mysql.conf", "--datadir=/home/rachel/.local/share/akonadi/db_data/", "--socket=/home/rachel/.local/share/akonadi/socket-Artax3ubuntu/mysql.socket") 
    stdout: "" 
    stderr: "130327  1:19:37 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
    
    
    130327  1:19:37 [ERROR] Aborting
    
    
    130327  1:19:37 [Note] /usr/sbin/mysqld: Shutdown complete
    
    
    " 
    exit code: 1 
    process error: "Unknown error" 
    "[
    0: akonadiserver() [0x4188c4]
    1: akonadiserver() [0x418c01]
    2: /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fcc9ad7f4a0]
    3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fcc9ad7f425]
    4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fcc9ad82b8b]
    5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7fcc9c8324c2]
    6: akonadiserver() [0x41aafb]
    7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7fcc9c8cc7c4]
    8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x11645f) [0x7fcc9c8d745f]
    9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fcc9c8dfa5b]
    10: akonadiserver() [0x48c7aa]
    11: akonadiserver() [0x41b857]
    12: akonadiserver() [0x41c7d5]
    13: akonadiserver() [0x41ddf7]
    14: akonadiserver() [0x411ce3]
    15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fcc9ad6a76d]
    16: akonadiserver() [0x412641]
    ]
    " 
    
    
    
    
    Test 17:  SUCCESS
    --------
    
    
    No current Akonadi control error log found.
    Details: The Akonadi control process did not report any errors during its current startup.
    
    
    Test 18:  SUCCESS
    --------
    
    
    No previous Akonadi control error log found.
    Details: The Akonadi control process did not report any errors during its previous startup.
    The configuration tools also fail to start, same errors. Nothing akonadi related works.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to reinstall OS and keep settings?

    For backup I use rsync with sudo. But some folders you really do not need like lost & found. When you create a new file system it will create a new lost & found. And there are a couple of lock files in /home that as long as you are logged in will not let you copy them. But again they only exist when you are using system.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7

    Re: How to reinstall OS and keep settings?

    Are they (the files in the lost&found folder, and the ones in /etc that won't transfer) necessary to keep my settings? If not, could I just ignore them? They will be installed with the new install right? Is there a chance that if I restore my settings with the backed up files I may just transfer over my current akonadi problem to the new installation?
    And there are a couple of lock files in /home that as long as you are logged in will not let you copy them. But again they only exist when you are using system.
    So I don't really need them to preserve my settings in a new install?

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to reinstall OS and keep settings?

    Most are files & folders that you need & should copy. If not using command line be sure to include all the hidden files & folders. Data can be copied to NTFS, but any system files will lose ownership & permissions and may cause issues. Best to use Linux formatted partition.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9

    Re: How to reinstall OS and keep settings?

    Ok. I have partitioned an ext4 partition onto my external hard drive. If I use the konsole terminal to copy over the files for backup, will they all copy over? How would I do that exactly? Thanks for your patient help

  10. #10

    Re: How to reinstall OS and keep settings?

    Hit another road block. Could not write to my new linux partition on my EHDD. Found this link: http://ubuntuforums.org/showthread.php?t=1334840
    But commands aren't working. Here's how things have gone so far:

    Code:
    rachel@Artax3ubuntu:~$ sudo fdisk -l
    [sudo] password for rachel: 
    
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0xeffa0c70
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1  1953525167   976762583+  ee  GPT
    Partition 1 does not start on physical sector boundary.
    
    
    Disk /dev/sdb: 300.1 GB, 300069052416 bytes
    255 heads, 63 sectors/track, 36481 cylinders, total 586072368 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: 0x551b0dcf
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1              63   481216511   240608224+   7  HPFS/NTFS/exFAT
    /dev/sdb2       481216512   586072063    52427776   83  Linux
    rachel@Artax3ubuntu:~$ sudo chown -R $USER:$USER </dev/sdb2>
    bash: syntax error near unexpected token `newline'
    rachel@Artax3ubuntu:~$ sudo chown -R $USER:$USER </dev/sdb2>
    bash: syntax error near unexpected token `newline'
    rachel@Artax3ubuntu:~$ sudo chmod -R 777 </dev/sdb2>
    bash: syntax error near unexpected token `newline'
    rachel@Artax3ubuntu:~$
    What does "syntax error near unexpected token `newline'" mean? Does it mean I typed something in wrong? How can I get write permissions to my new partition? Also there is a "lost&found" folder in it! Where'd that come from?

    Found out the difference between "mount point" and "partition" labels.... I think. Still no success:

    Code:
     rachel@Artax3ubuntu:~$ mount
    /dev/sda8 on / type ext4 (rw,errors=remount-ro)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    none on /sys/firmware/efi/efivars type efivarfs (rw)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    /dev/sda9 on /home type ext4 (rw)
    /dev/sda2 on /boot/efi type vfat (rw)
    gvfsd-fuse on /run/user/rachel/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=rachel)
    /dev/sdb1 on /media/New Volume type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    /dev/sdb2 on /media/ubuntu backup pa type ext4 (rw,nosuid,nodev,uhelper=udisks)
    rachel@Artax3ubuntu:~$ sudo chown -R $USER:$USER </media/ubuntu backup pa>
    bash: syntax error near unexpected token `newline'
    rachel@Artax3ubuntu:~$ sudo chmod -R +w </media/ubuntu backup pa>
    bash: syntax error near unexpected token `newline'
    rachel@Artax3ubuntu:~$
    Last edited by TheChristianHippie; April 20th, 2013 at 03:38 AM. Reason: tried something else

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •