Jump to content


Arch Linux Adventure


  • Please log in to reply
42 replies to this topic

#1 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 18 May 2011 - 06:38 PM

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.
fdisk -H 32 -S 32 /dev/sda
That should align the cylinders, heads, and sectors to be optimal for SSD.
fdisk -lu /dev/sda
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:

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#2 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,788 posts

Posted 18 May 2011 - 07:15 PM

There's good news. I'm enjoying Pandora Radio. Thanks for the tip about it. :hysterical:

#3 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 18 May 2011 - 09:34 PM

UpdateI'm in. :hysterical: Working to set it up now. :thumbsup:

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#4 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 18 May 2011 - 11:14 PM

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, 18 May 2011 - 11:15 PM.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#5 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,969 posts

Posted 19 May 2011 - 03:48 AM

Good work! I wouldn't have thought about the AHCI setting for SSD. When I installed my new SSD it Just Worked.  :hysterical:  :thumbsup:
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#6 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 19 May 2011 - 09:51 AM

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, 19 May 2011 - 12:55 PM.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#7 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 19 May 2011 - 12:10 PM

Good job and great tips!!! :thumbsup:I am going to have get me an ssd drive one of these days :clap:
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#8 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 19 May 2011 - 01:05 PM

I was tired last night and I goofed.This morning before I started to configure I ran
fdisk -lu /dev/sda
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
mkfs.ext4
on each of them, formatting them.Right now I am stumped as to what to do next to fix this problem.Any suggestions.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#9 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 19 May 2011 - 01:25 PM

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.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#10 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 19 May 2011 - 02: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.

Edited by amenditman, 19 May 2011 - 02:05 PM.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#11 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 19 May 2011 - 02:26 PM

View Postamenditman, on May 19 2011, 01:05 PM, said:

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.
Well at least you figured out what the issue was. :clap:
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#12 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 19 May 2011 - 03:58 PM

View Postsecuritybreach, on May 19 2011, 02:26 PM, said:

Well at least you figured out what the issue was. :clap:
For now.With me at the helm, it's always something.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#13 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,741 posts

Posted 20 May 2011 - 07:48 AM

Arch on a SSD how will your brain keep up  :hysterical:Arch on a SSD how will your brain keep up  :bounce:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#14 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 20 May 2011 - 10:57 AM

View Postabarbarian, on May 20 2011, 06:48 AM, said:

Arch on a SSD how will your brain keep up  :hysterical:Arch on a SSD how will your brain keep up  :bounce:
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?
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#15 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,741 posts

Posted 20 May 2011 - 02:35 PM

View Postsecuritybreach, on May 20 2011, 11:57 AM, said:

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?
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)
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#16 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 20 May 2011 - 02:48 PM

View Postabarbarian, on May 20 2011, 01:35 PM, said:

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)
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)
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#17 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,969 posts

Posted 20 May 2011 - 08:35 PM

SSD is essential. Resistance is futile. Posted Image
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#18 OFFLINE   ChipDoc

ChipDoc

    Forum Fiend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,752 posts

Posted 20 May 2011 - 08:49 PM

View Postsunrat, on May 20 2011, 08:35 PM, said:

SSD is essential. Resistance is futile. Posted Image
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!
Think! It's patriotic!
Enlighten the people generally, and tyranny and oppressions of body and mind will vanish like evil spirits at the dawn of day.
Thomas Jefferson, 1816
  Registered Linux User: 526339 , Check out The Bodhi Guide To Enlightenment

#19 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 20 May 2011 - 10:48 PM

View PostChipDoc, on May 20 2011, 08:49 PM, said:

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!
Spoken like a true leader of the collective!

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#20 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,741 posts

Posted 13 October 2013 - 07:13 AM

So how is Arch doing on that Corsair Force 60 GB SSD ? :breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#21 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 13 October 2013 - 08:00 AM

View Postabarbarian, on 13 October 2013 - 07:13 AM, said:

So how is Arch doing on that Corsair Force 60 GB SSD ? :breakfast:
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 build and it is great. Lightning fast and dependable.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org


#22 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,709 posts

Posted 13 October 2013 - 10:41 AM

That is very cool Abarbarian!! :thumbup:
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#23 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,741 posts

Posted 13 October 2013 - 10:54 AM

View Postamenditman, on 13 October 2013 - 08:00 AM, said:


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 build and it is great. Lightning fast and dependable.

That is a good result. From out of the ashes........................ :shifty:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#24 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,741 posts

Posted 02 March 2014 - 08:54 AM

Three years on. How are you the ssd and Arch getting along ? :breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#25 OFFLINE   amenditman

amenditman

    Board Bigwig

  • Forum MVP
  • 2,679 posts

Posted 02 March 2014 - 11:37 AM

View Postabarbarian, on 02 March 2014 - 08:54 AM, said:

Three years on. How are you the ssd and Arch getting along ? :breakfast:
Smooth sailing.

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)


REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

www.reglue.org





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users