Why GNU/Linux Rocks
Collapse
X
-
For bumpage, sgreger1, since we haven't seen this thread shoot up to the top again, is it safe to say all is going well with your system for the time being? Or just not playing around with it, since it's a weekday and all? Anyway, when you've got time to play with it again, feel free to bump this thread up with your questions, and I'll do my best to answer them.
-
No, that's just the column names. You see the asterisk under Boot by /dev/sda1? That indicates that /dev/sda1 is the only partition marked as bootable. I don't fully understand the boot process, but I'd imagine GRUB puts something in there so that when the computer boots, there's a file that says "Hey, look at this /boot partition over here!" and hands things off to GRUB. And I don't know why you would have to use sudo. Just plain ol' fdisk -l works fine here.
Leave a comment:
-
So I ran sudo f-disk (the error before was that I didn't start it with 'sudo") and this is what I get. Based on this, does it not appear that the partitions are on sda, but the boot is on sdb?
Code:[samizdat@localhost ~]$ sudo fdisk -l Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x05cd9cda Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 2741876735 1370834944 7 HPFS/NTFS/exFAT /dev/sda3 2741878782 2906247167 82184193 5 Extended Partition 3 does not start on physical sector boundary. /dev/sda4 2906247168 2930274303 12013568 7 HPFS/NTFS/exFAT /dev/sda5 2742382592 2758004735 7811072 82 Linux swap / Solaris /dev/sda6 2758006784 2759030783 512000 83 Linux /dev/sda7 2759032832 2850971647 45969408 83 Linux /dev/sda8 2850973696 2861361151 5193728 82 Linux swap / Solaris /dev/sda9 2861363200 2906247167 22441984 83 Linux WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes 255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0x20075f75 Device Boot Start End Blocks Id System /dev/sdb1 2048 4294963199 2147480576 7 HPFS/NTFS/exFAT
I'm just curious why it says:
Code:Device Boot Start End Blocks Id System /dev/sdb1 2048 4294963199 2147480576 7 HPFS/NTFS/exFAT
And is it normal that there appear to be 2 swap partitions? Is one of them perhaps used by windows or something?
Leave a comment:
-
Code:fdisk -l
Code:sudo yum update
Code:sudo yum -y update
I forgot, and lx reminded me, but I did want to mention man pages. Generally, most packages will have some sort of documentation explaining how they're used and the various options for them. These are called man pages, and you can read them by typingCode:man foo
Man, this turned into a massive post...
Edit2: And while I'm thinking of it, I forgot to mention tab completion. When you're in the terminal, you can hit the tab key to auto-complete command or file names once you've typed enough of the name for the computer to be completely sure of what command or file name you intend to use. For example, you can type fdi and hit tab, and it'll fill it out as fdisk for you. However, in cases where there's ambiguity (you have .Xresources and .Xdefaults in your ~/ and you hit tab after entering .X), hitting tab once will do nothing.
Also, if you come across any instructions for something you're looking to do that tell you to edit a file or enter a directory with . in front of them, like that .Xresources file, the . means it's a hidden file or directory. In Nautilus, the default Gnome file manager, you need to enable the "show hidden files and folders" option in one of the menus. In the terminal, typeCode:ls -a
Finally, I was going to tell you this when I woke up this morning, but you'd already managed to install Fedora on your own, so it was a bit late. 10GB of swap space is pretty much overkill. The general rule of thumb used to be make swap the same as your RAM, but it doesn't really hold true any more. 2GB of swap is likely more than sufficient, and 4GB is pretty much safe as you can be. If you're doing something and you get 4GB into swap, you've got some issues to fix with your machine, or you really need to upgrade your RAM if you actually need that much.
And by the way, if you still use torrents at all, I'll recommend rtorrent as a pretty good client. You can do quite a bit to automate things with its config file.
Leave a comment:
-
Try sudo fdisk -l That should be a standard command in any GNU/Linux.
Edit:
You might find this page useful. It gives the usage of various commands. You can look them up, and it'll show you the man page. You can do the same thing from the terminal though, in this case
man fdisk
gives the usage for the command fdisk
http://www.linuxmanpages.com/
Leave a comment:
-
Originally posted by shikitohnoIf it had taken over the whole partition, than none of those things would still be on the drive. If you install ntfs-3g you'll also be able to write to that partition from linux. I don't believe fdisk will be able to help you, since I'm pretty sure a UEFI boot requires a GUID Partition Table, and you posted something a while ago that fdisk doesn't support GPT. There should be a disk utility or something similar in your applications menu. It was under System Tools back when I was still using gnome, but I haven't used it in some time now. That should let you look at your partition layout, though. If not, we can find something that'll work. I think rather than reinstalling and redoing everything you've done so far, it might be easier to just create a partition table on your second disk and image your partitions. That way you can copy everything over, with the images, and just have your ~/home partition expanded to whatever size you want on that disk, and you don't have to do all the setup over again. I'd have to look into doing that and see how it would work to be sure, though.
Leave a comment:
-
If it had taken over the whole partition, than none of those things would still be on the drive. If you install ntfs-3g you'll also be able to write to that partition from linux. I don't believe fdisk will be able to help you, since I'm pretty sure a UEFI boot requires a GUID Partition Table, and you posted something a while ago that fdisk doesn't support GPT. There should be a disk utility or something similar in your applications menu. It was under System Tools back when I was still using gnome, but I haven't used it in some time now. That should let you look at your partition layout, though. If not, we can find something that'll work. I think rather than reinstalling and redoing everything you've done so far, it might be easier to just create a partition table on your second disk and image your partitions. That way you can copy everything over, with the images, and just have your ~/home partition expanded to whatever size you want on that disk, and you don't have to do all the setup over again. I'd have to look into doing that and see how it would work to be sure, though.
Leave a comment:
-
Sweet, I will have to check all of those programs out. One thing that strikes me as weird is that I can mount my regular C: and X: drives from my windows partition while in Fedora and access all of the pictures and other documents as though I was accessing them through windows. Is this normal or have I mashed the partitions together somehow? If it won't mess anything up than that is really cool that I can see all my pics/videos while in Fedora and even listen to my music. If I write stuff to the C: or X: drives is it going to mess anything up?
I may try and re-install onto the larger hard drive since I already moved everything off of it. When I installed it on my regular sda drive it gave me the option to replace and take over the partitions I had set up for Ubuntu but I am still not sure if it kept the partitions or if it merged it all into one. I am assuming it kept the setup I had and just overwrote Ubuntu. Fdisk can help me identify this right?
Leave a comment:
-
No problem, I was kidding anyway. That damn "Are you sure you want to stay?" dialogue came up and I didn't notice it, and a key I hit took me off the page and it wiped this mammoth post out. Well, now to type it again.
First, screen is a pretty awesome program, and it'll save you from have lot's of unnecessary windows/tab open if you use the terminal often. I've got irssi (irc), rtorrent (torrents, duh), mutt (email), htop (system monitor), ncmpcpp (MPD front-end, plays music), vifm (file manager) and calcurse (calender/appointments) all running within one screen session. Screen is controlled pretty much entirely by the keyboard. You hit ctrl+a, let go of them and hit another button to do stuff.
ctrl+a c: opens up another terminal within screen
ctrl+a n: goes to the next terminal
ctrl+a p: goes one back
ctrl+a ": shows a list of everything you have open. Initially, they'll all just show up as "bash," so it's helpful to name each terminal/window.
ctrl+a A: names the current window. You can delete bash and name it whatever you want. Hit enter to confirm it. Must hold shift when you hit that A.
ctrl+a d: detaches the screen session, and everything in it runs in the background. You can close all your programs, log out, log back in, and type screen -r into a terminal, and you'll see them all running there, still. Can also use this if you want to connect remotely (say you want to ssh into your box and play music on your home computer while at work).
In short, screen is an awesome program if you use the terminal often. For my next plug, MPD. There's a great page on it on the ArchWiki that you can use for most of the configuration. However, you cannot use they're instructions for making MPD run as a daemon (which is something you probably want to do if you use it), because Arch handles all that differently from Fedora. They use a *BSD-style init, and Fedora uses systemd, which are two ways of handling the same task. On a tangent, I like their style better, but that's a separate issue. Anyway, MPD has some pretty awesome features. It uses next to no processing power or memory, except when you're updating the database. If you pause a song and shutdown, it'll remember where you were in the song, and you can start playing exactly where you left of when you start up again. If you run it as a daemon, you can leave it playing while you're rebooting, and it'll start playing the song from where it left off when your computer comes back up, before you even hit the login screen.
And finally, considering how much data you have and how you've been backing things up, rsync+cron could very well be your new best friend. The first time you run rsync, it'll make a copy of everything in the directories you tell it to back up in your backup location. Every time after that, it'll only copy the files that have been added or changed since the previous backup. You can also use it to do remote backups, like to back up the stuff you've got on another computer over the network. And with cron, you can set it up to run at regular intervals, so as long as your computer is on and running linux, it'll back up automatically every so often, and you won't have to do anything.
Leave a comment:
-
Originally posted by shikitohnoWho knows. For now, don't go encouraging sgreger to install unnecessary things. I've only got 4.5 hours of weekend left now.
Leave a comment:
-
Yeah, therein lies both one of the greatest strengths and weaknesses of linux. It's great because the system doesn't pester you with "Hey, are you sure about this?" every time you try to do something, even when you know you're doing something that'll work perfectly fine. It can come back and bite you in the ass though, because as long as you've got the right privileges, linux won't stop you, even if you're doing something really dumb. And to get this out of the way, never run these two if someone suggests you to. They're either kidding, or they're assholes.
Code:sudo rm -rf /* or :(){ :|: & };:
Leave a comment:
-
:^D
True enough. sgreger, when you're changing things around, don't do too much at one time before checking your progress. That can make it harder to find the true culprit when things go wrong. Also, as you've seen, there's little protection for the system, and the protections in place are trivial to circumvent. You have full control of your computer, and you can do things that are harmful to its operation. Just be careful when you're making changes, and consider what the possible ramifications are if what you're doing doesn't work according to expectations.
Leave a comment:
-
Who knows. For now, don't go encouraging sgreger to install unnecessary things. I've only got 4.5 hours of weekend left now.
Leave a comment:
-
Compiz might work with the free drivers. It does with the Intel drivers on my netbook.
Leave a comment:
-
Alright, so since ATI doesn't have an official driver for your device yet, you won't be able to use compiz or any of the fancy 3D eye candy. For what it's worth, in the future if you buy a computer and you're thinking of putting linux or one of the BSDs on it, I'd say go with nVidia over ATI. They have a better record of getting their own drivers out the door, and not making things as difficult for the guys trying to write open source drivers. They've been asses with the same stuff in the past, but in my experience they've improved over the last few years, while ATI are still bastards. Also, you got rid of that catalyst package or whatever the proprietary driver was that you installed? If it's still on your system, it won't be doing any damage, but for the sake of keeping things clean, I would suggest getting rid of it.
Leave a comment:
Related Topics
Collapse
-
by wa3zrmBeta News ^ | The Windows XP death clock is ticking away. While Microsoft has extended support for malware protection, do not be fooled -- XP will...
-
Channel: People and World Around Us
-
-
by wa3zrmThe Modern Survivalist ^ |
It happened a few years ago during a trip to USA for the Self Reliance expo in Utah. After the expo we decided to...-
Channel: People and World Around Us
-
-
by CyId just thought Id share a story of my computer journey last night. When I first got my desktop it was a display at the store with windows vista. After...
-
Channel: People and World Around Us
-
-
by shikitohnoI'll admit, this is something that's been bugging me for a long time now. I saw a clip about this family just now, who got booted off a flight because...
-
Channel: People and World Around Us
-
-
by wa3zrmPolice hire 'Angel' to slow drivers on busy roads
newslite.tv ^ | May 11, 2010
Posted on Saturday, May 15, 2010 10:15:48 PM
...-
Channel: SNUSON Confessional
16-05-10, 04:45 AM -
- Loading...
- No more items.
Links:
BuySnus.com |
SnusExpress.com |
SnusCENTRAL.com |
BuySnus EU |
BuySnus.at |
BuySnus.ch |
SnusExpress.ch
Leave a comment: