Jump to content
Scot's Newsletter Forums
amenditman

Arch Linux Adventure

Recommended Posts

I got up this morning and had this wild idea to install an unused Corsair Force 60 GB SSD as my / and /home drive in my main computer.I downloaded the latest nightly build of Arch NetInstaller ISO, burned it to disk.I removed the case from it's shoehorn home under my desk, took it outside and blew it out.Then I mounted the SSD in it's adapter and plugged it up as SATA1. All other drives unplugged for now.Ran Parted Magic, used the terminal to run fdisk.[code]fdisk -H 32 -S 32 /dev/sda[/code]That should align the cylinders, heads, and sectors to be optimal for SSD.[code]fdisk -lu /dev/sda[/code]To check it out and got 255 heads and 63 sectors which means the first operation failed. No biggie, maybe I forgot to write my changes to disk. I'll just do it again.The second time I ran the command to reset heads and sectors I made sure that I wrote the changes to disk. Still no good. I've seen fdisk fail this operation before, so I opened cfdisk and changed the geometry from there and wrote the changes to disk. Re-ran fdisk -lu and all was as it should be.Then used mkfs to create a primary partition 1 of 12 GB for root and a primary partition 2 of the balance for /home.So far so good.Put the Arch NetInstall disk in the drive and rebooted.Started the installer and got thru Select Source, Set Clock, Prepare Hard Drive.When I went to Select Packages it ran a long time then failed. What?Tried again, same result.Spent about 10 minutes trying to figure it out.My internet connection was down.Pinged my router, couldn't ping the web.Reset Cable modem and tried again, no go.Called Brighthouse Tech Support, sometimes the only way to fix the cable modem is for them to reset it from their end.Found out there was an outage in my area, a construction crew cut the line, it was being fixed.Well, couldn't proceed with install, so I shut it down and rebooted into Parted Magic to move a few partitions around on my old #1 HDD to make a new /tmp and /var on a spinning disk because there are a lot of writes in those and they are best not on your SSD.I am currently writing this on my Motorola Atrix Lapdock over WiFi, internet access was restored after only 1 1/2 hours, because the partition move will take about 5 hours.Maybe I'll get to re-start the install late tonight.I should have stayed in bed! :hysterical:

Share this post


Link to post
Share on other sites
There's good news. [url="http://noctslackv1.wordpress.com/2011/05/18/review-pandora-radio/"]I'm enjoying Pandora Radio[/url]. Thanks for the tip about it. :hysterical:

Share this post


Link to post
Share on other sites
I had to start from scratch. At least it's not Linux From Scratch!I knew I had to switch my SATA controller from IDE to AHCI for my SSD. I just didn't know that I had to do it before installing or it would be a total pain to fix after.Also, the 5-16-11 nightly build iso has a real problem with creating filesystems, it fails every time, so I had to redo my partitions with Parted Magic Live CD again. Ended up being good because I found a mistake in my notes and I don't know if it was just the notes or if it was the disk also.I'm at a shiny new command prompt as we speak.I should have never gotten up this morning! Edited by amenditman

Share this post


Link to post
Share on other sites
Good work! I wouldn't have thought about the AHCI setting for SSD. When I installed my new SSD it Just Worked. :hysterical: :thumbsup:

Share this post


Link to post
Share on other sites
An SSD will just work without you doing anything different from what you know for a HDD.Aligning the Heads and Sectors to the Erase Block Size reduces needless writes by making sure it falls within one cylinder. Setting the noatime option for a partition eliminates the need for the filesystem to perform a write operation when then file is merely being read. Setting the SATA controller in BIOS to AHCI and and setting the discard option for a partition enables TRIM support and garbage collection. Each of these 3 steps are supposed to insure the longevity of the SSD and help maintain performance over time. Edited by amenditman

Share this post


Link to post
Share on other sites
I was tired last night and I goofed.This morning before I started to configure I ran [code]fdisk -lu /dev/sda[/code] to see if all the settings were right from last night. When I made my partitions I did not successfully align the C-H-S and the partitions. fdisk showed heads=255, sectors=63 when I should have heads=32 and sectors=32.Sooo... I had to start again.Everything went well until I got to Install Packages step. At that point it still sees the old package install and tries to do a re-install of everything.It fails and kicks me out.I am unsure why this is happening.I have used dd to overwrite the entire disk with zeroes, deleted the partition table, created a new blank partition table, created my new partitions, and used [code]mkfs.ext4[/code]on each of them, formatting them.Right now I am stumped as to what to do next to fix this problem.Any suggestions.

Share this post


Link to post
Share on other sites
Maybe try a different iso or use the Arch installer to format and set your mountpoints? If you are doing a net install, try using a different mirror? I am just throwing ideas since I have never ran across this issue.

Share this post


Link to post
Share on other sites
Looks like it may have been the installer in the nightly build. Seems to be consistent problems with the installer.I tried my old 05.2010 install disc and it is currently installing packages without errors and it didn't tell me it was doing a re-install. Edited by amenditman

Share this post


Link to post
Share on other sites
[quote name='amenditman' post='326052' date='May 19 2011, 01:05 PM']Looks like it may have been the installer in the nightly build. Seems to be consistent problems with the installer.I tried my old 05.2010 install disc and it is currently installing packages without errors and it didn't tell me it was doing a re-install.[/quote]Well at least you figured out what the issue was. :clap:

Share this post


Link to post
Share on other sites
[quote name='securitybreach' post='326054' date='May 19 2011, 02:26 PM']Well at least you figured out what the issue was. :clap:[/quote]For now.With me at the helm, it's always something.

Share this post


Link to post
Share on other sites
[quote name='abarbarian' post='326103' date='May 20 2011, 06:48 AM']Arch on a SSD how will your brain keep up :hysterical:Arch on a SSD how will your brain keep up :bounce:[/quote]Well it could not be much faster than I already am, I currently have 16gb of ram and a quad core (i5). Oh you meant read/write speed? Well I already use Sata 6Gbit/s, so how much faster could it get?

Share this post


Link to post
Share on other sites
[quote name='securitybreach' post='326106' date='May 20 2011, 11:57 AM']Well it could not be much faster than I already am, I currently have 16gb of ram and a quad core (i5). Oh you meant read/write speed? Well I already use Sata 6Gbit/s, so how much faster could it get?[/quote]Ah I forgot you across the pond folk don't have the same brand of humour as us.The pc will be lightening fast but how will the brain cope with speeds like that is what I meant.Mind you were you giving specs for your brain ? If so I have to deduce that you are a robot or possibly a Borg type who has unwittingly been assimilated by his pc. B)

Share this post


Link to post
Share on other sites
[quote name='abarbarian' post='326134' date='May 20 2011, 01:35 PM']Ah I forgot you across the pond folk don't have the same brand of humour as us.The pc will be lightening fast but how will the brain cope with speeds like that is what I meant.Mind you were you giving specs for your brain ? If so I have to deduce that you are a robot or possibly a Borg type who has unwittingly been assimilated by his pc. B)[/quote]Ah ok, I was still waking up :hysterical: Nah, that was my main computer. I have yet to find the right adapter to hook my brain up to the Borg but if I do, hopefully it is faster than the computer I have. B)

Share this post


Link to post
Share on other sites
SSD is essential. Resistance is futile. [img]http://img820.imageshack.us/img820/3732/borg.gif[/img]

Share this post


Link to post
Share on other sites
[quote name='sunrat' post='326165' date='May 20 2011, 08:35 PM']SSD is essential. Resistance is futile. [img]http://img820.imageshack.us/img820/3732/borg.gif[/img][/quote]The biggest problem with SSD is their limited size. Once we can store data in living tissue rather than in dead silicon, you can simply grow more memory as you need it!

Share this post


Link to post
Share on other sites
[quote name='ChipDoc' post='326168' date='May 20 2011, 08:49 PM']The biggest problem with SSD is their limited size. Once we can store data in living tissue rather than in dead silicon, you can simply grow more memory as you need it![/quote]Spoken like a true leader of the collective!

Share this post


Link to post
Share on other sites
[quote name='abarbarian' timestamp='1381662839' post='382691']
So how is Arch doing on that Corsair Force 60 GB SSD ? :breakfast:
[/quote]
After all that early futzing around and zeroing the drive with dd (a no-no, don't do it there are new ways to wipe an SSD) the SSD failed after less than 2 years.
Good news is that Corsair stepped right up and replaced it with a new one. The old one was only a SATA II type and the replacement was a SATA III.
I have used it in my new [url="http://forums.scotsnewsletter.com/index.php?showtopic=64808&#entry380136"]build[/url] and it is great. Lightning fast and dependable.

Share this post


Link to post
Share on other sites
[quote name='amenditman' timestamp='1381665652' post='382696']

Good news is that Corsair stepped right up and replaced it with a new one. The old one was only a SATA II type and the replacement was a SATA III.
I have used it in my new [url="http://forums.scotsnewsletter.com/index.php?showtopic=64808&#entry380136"]build[/url] and it is great. Lightning fast and dependable.
[/quote]

That is a good result. From out of the ashes........................ :shifty:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...