LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-31-2012, 12:22 PM   #136
Aunnix
Member
 
Registered: Aug 2012
Posts: 126

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by frieza View Post
grub.conf
Code:
kernel /vmlinuz root=UUID={uuid}
fstab
Code:
UUID={uuid}      /     ext4 defaults         1       1
recommended? that's up to you, but the use of UUIDs provide more consistency, especially if you change your hardware from time to time. Particularly with portable drives (memory cards, thumb drives, usb hard drives for instance can change from /dev/sdB to /dev/sdC to /dev/sdD from time to time, or if you have more than one they are assigned in the order in which they are plugged in, but a UUID doesn't matter what they /dev/sdX letter they are assigned, the UUID doesn't change)
Cool. I may look into this a little more a little later. My plans are to build the server box where no parts will ever need to be changed (with the exception of my 2 750GB HDDs that will be my /home on RAID when they run out of space in LONG time, lol). I don't really plan to use any of the USB ports on the server machine, because once it is situated I will move it to my basement (colder envrionment) and remote in to do everything from my everyday computer in my home office. I planned to basically load any files (from USB, phone, etc.) onto my office computer and then just upload the files to the server from there.
 
Old 08-31-2012, 12:25 PM   #137
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
well another reason would be change in kernel might change how device nodes are assigned (used to be /dev/hdX for ide and /dev/sdX for scsi, now it's all just /dev/sdX, but a UUID would solve that because by nature UUID is unique to each device)
 
Old 09-04-2012, 11:43 AM   #138
sjreilly
Member
 
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by frieza View Post
well another reason would be change in kernel might change how device nodes are assigned (used to be /dev/hdX for ide and /dev/sdX for scsi, now it's all just /dev/sdX, but a UUID would solve that because by nature UUID is unique to each device)
I prefer to give partitions labels rather than work with UUIDs - but that's just me.

LABEL=root / ext4 noatime,discard,errors=remount-ro 0 1
LABEL=swap none swap sw 0 0
LABEL=data /data ext4 defaults 0 2
 
Old 09-04-2012, 12:02 PM   #139
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by sjreilly View Post
I prefer to give partitions labels rather than work with UUIDs - but that's just me.

LABEL=root / ext4 noatime,discard,errors=remount-ro 0 1
LABEL=swap none swap sw 0 0
LABEL=data /data ext4 defaults 0 2
that works too, but even labels are arbitrary, especially when you re-format and re-purpose drives (i've done that a few times), then you have to remember to change the label.
 
  


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
LXer: Easy way to Build FTP server in Ubuntu Server 12.04 LXer Syndicated Linux News 0 05-29-2012 09:10 AM
jenkins continuous build server not starting application userbrian Programming 2 03-31-2012 03:12 PM
Starting to build a cluster martins48 Linux - Software 4 10-21-2011 06:33 PM
Building my first home server - atom based router/file server build need advice mothergoose729 Linux - Networking 5 03-23-2010 04:19 AM
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 08:05 PM


All times are GMT -5. The time now is 04:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration