LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 11:22 AM   #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, 11:25 AM   #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,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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, 10: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, 11:02 AM   #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,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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



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 08:10 AM
jenkins continuous build server not starting application userbrian Programming 2 03-31-2012 02:12 PM
Starting to build a cluster martins48 Linux - Software 4 10-21-2011 05:33 PM
Building my first home server - atom based router/file server build need advice mothergoose729 Linux - Networking 5 03-23-2010 03:19 AM
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration