You are not logged in.

#1 2012-02-22 05:06:07

JuseBox
Member
Registered: 2009-11-27
Posts: 260

[Solved] Installed archlinux installation media | internal harddrive

I am sitting here with a buddies laptop and I have no idea how to solve this. He was trying to install the archlinux media to usb for a netbook installation. Instead of issuing the command.

sudo dd if=archlinux.iso of=/dev/sdb

for his usbstick, he instead used sda which is his internal harddrive. After a reboot of his system of course doesn't work. Now while trying to reinstall we are unable to install grub to sda anymore no matter what we try. Has anyone done this before?

Solved:
After doing some research on this I found out that when I mounted sda it would only mount 180MB for the live image. I issued this command.

dd bs=4M if=/dev/zero of=/dev/sda

After this lengthy process completed the hdd was completely wiped. Allowing me to install just fine.

Last edited by JuseBox (2012-02-27 22:51:23)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#2 2012-02-22 05:20:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Installed archlinux installation media | internal harddrive

How are you (re)installing Arch - using the latest official iso?
https://wiki.archlinux.org/index.php/Be … bootloader

Offline

#3 2012-02-22 06:03:32

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [Solved] Installed archlinux installation media | internal harddrive

You probably borked the MBR of the internal HDD.Try formatting the sda disk writing a new partition table.


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#4 2012-02-22 10:48:52

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] Installed archlinux installation media | internal harddrive

Most laptops have only one HDD, but he should've checked anyway if sdb was the USB stick or not (using something like "sudo fdisk -l"), because dd is a very powerful program. He learned that the hard way.

Now you need something like Parted Magic or GParted Live, either from a CD or a USB stick.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-02-22 12:24:01

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [Solved] Installed archlinux installation media | internal harddrive

Ok, this is what I have tried.

During the Archlinux installation I can't even get the usb to install to boot up. Gives me this error.

Waiting 30 Secs for device /dev/disk/by-label/ARCH_201108
ERROR: Mounting was successful, but the '/bootmnt/arch/aitab' file doesn't exist.

then drops to ramfs shell.

Ubuntu works fine during the install up onto the installation (live works) when it tries to install grub it fails saying that /dev/sda doesn't exist when it does.

If I go to install windows back that works fine. It installs, I applied updates, then rebooted and still fine. We don't want windows though. Thats the issue.

Is it that my MBR is messed up? If this is the case I have no idea why all restoration attempts have failed. Or why windows is able to install.

Last edited by JuseBox (2012-02-22 12:38:02)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#6 2012-02-22 12:54:32

meph
Member
Registered: 2011-06-06
Posts: 160

Re: [Solved] Installed archlinux installation media | internal harddrive

Plug the usb stick into some other computer, say a windows machine, and manually change its label to ARCH_201108. I don't know if that's the proper solution, but it worked some time ago when I ran into similar issue.


Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.

Offline

#7 2012-02-22 12:56:24

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [Solved] Installed archlinux installation media | internal harddrive

DSpider wrote:

Now you need something like Parted Magic or GParted Live, either from a CD or a USB stick.

try this...


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#8 2012-02-27 22:50:36

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [Solved] Installed archlinux installation media | internal harddrive

After doing some research on this I found out that when I mounted sda it would only mount 180MB for the live image. I issued this command.

dd bs=4M if=/dev/zero of=/dev/sda

After this lengthy process completed the hdd was completely wiped. Allowing me to install just fine.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

Board footer

Powered by FluxBB