LinuxQuestions.org
Visit Jeremy's Blog.
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 11-04-2011, 11:26 AM   #1
Gabbers
LQ Newbie
 
Registered: Sep 2011
Location: Saint Louis
Distribution: CentOS Fedora Ubuntu
Posts: 8

Rep: Reputation: Disabled
When attempting to install a Linux Distribution it hangs after selecting a language


Hello All - This problem has been resolved but posting because I am not having any luck locating documentation to help me understand why, what I did, worked/did not work.

Goal: Format a virus/malware infected hard-drive and install an end user friendly version of Linux

Hardware: AMD single-core Athlon 64, 1mb DDR RAM, 160gb IDE drive (containing a single NTFS partition running Windows XP SP3)

Problem: When trying to install a Linux OS I am able to boot to the live desktop but when attempting to install to the local hard drive, it hangs at the screen to select the language. Although the install would not proceed, it was not locking the computer. During that time I was still able to go back to the “live desktop” open a terminal or web browser. I ran into this problems with 3 separate builds on 3 separate types of media (Ubuntu 11.04/USB flash drive, Mint 11/DVD and Fedora13/CD)

My first thought was that the drive is bad, so I replaced it with a 40gb drive (also single NTFS partition with Windows XP). This drive hung the same as the 160gb drive, so I put it back in.

In the next attempt I booted to a live version of Mint 11 > opened a Terminal > and ran fdisk /dev/sda1 and received an error stating it could not access the drive. I ran the df command to make sure I could see the drive and it was not listed. I mounted it and was then able to view and navigate through the Windows files. I attempted to run fdisk again but this time received a message instructing me to unmount the drive. Unmounted the drive, ran sudo fdisk /dev/sda (and /dev/sda1) both ways returned the error stating it could not access the drive

Fix: ran the command mkfs.ext2 /dev/sda1 This ran for maybe 2 minutes and finished without any errors. After which I tired browsing the drive and was able to access it but it gave the appearance that the NTFS file structure and all files were gone. I closed the the Terminal program, clicked the icon to install MINT to my hard-drive which installed as expected. At this time I have been using the workstation for 2 days and have had no further problems.
 
Old 11-04-2011, 12:09 PM   #2
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Rep: Reputation: 29
Somewhere here there's a question. I just can't seem to find it.

Do you have the problem sorted?
 
Old 11-04-2011, 02:01 PM   #3
Gabbers
LQ Newbie
 
Registered: Sep 2011
Location: Saint Louis
Distribution: CentOS Fedora Ubuntu
Posts: 8

Original Poster
Rep: Reputation: Disabled
Somewhere here there's a question

The primary reason for posting was I found another Thread, on the exact same issue, but it did not have any replies that fixed the problem.
I had trouble joining that site, to post a reply, so I thought I would share it here.

The issue is resolved but I do have a couple questions:

Why did fdisk not work?
I checked my syntax, read the man pages and cannot figure out what I must be missing.

Why would the 3 separate distributions, I tried, unable to write/overwrite what was on the drive?
I've only been working with Linux for a few months but have installed both Fedora and Ubuntu on drives formerly running Windows without having to format or change the file structure. The only difference with this one is the machine was so riddled with malware and viruses I couldn't get it to shutdown. I just pulled the plug and restarted, booting to one of the Linux Desktop. Would a corrupt MBR or something along those lines keep Linux from being able to read or write to the disk?
 
Old 11-04-2011, 03:32 PM   #4
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Rep: Reputation: 29
you could have run 'fdisk -l' to show which disks fdisk can access. but yes, 'fdisk /dev/sda' should have run fine AS ROOT. As a normal user can't use fdisk (returns error 'Unable to open /dev/sda') I would assume that you were running as a non root user. You mentioned sudo, perhaps you do not have sudo set up correctly.
 
Old 11-04-2011, 05:19 PM   #5
Gabbers
LQ Newbie
 
Registered: Sep 2011
Location: Saint Louis
Distribution: CentOS Fedora Ubuntu
Posts: 8

Original Poster
Rep: Reputation: Disabled
I was installing Mint which I thought had root disabled. Preceding fdisk with the sudo command, generated the warning "respect others privacy....etc" so I expect it was running the command as privileged user.
 
  


Reply

Tags
installation



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
Install hangs after selecting to install HP Pavilion DV4250 hotrock3 Ubuntu 3 03-15-2010 05:07 AM
Attempting to install DSL - liveCD hangs Mysidic Linux - Newbie 9 06-12-2009 07:11 PM
Anaconda dies after selecting language and keyboard layout on Sun Ultra 10 using FC 6 sgware Fedora 0 10-21-2007 12:24 AM
selecting language munna_dude Programming 3 07-25-2007 05:52 AM
LXer: Linux distribution targets Nepali language LXer Syndicated Linux News 0 01-10-2006 11:31 PM

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

All times are GMT -5. The time now is 09:01 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