LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2006, 01:29 AM   #1
Eileen
Member
 
Registered: Oct 2004
Posts: 99

Rep: Reputation: 15
Error enabling swap device hda3


Help!! SOS!!

I am a newbie to linux. I am encountering a troubling problem while installing linux to my laptop. I have
searched throughout the web for any hints or solution but in vain. Here are the error message:

1) Error enabling swap device hda3: Invalid argument
This most likely means this swap partition has not
been initialized.
Press Ok to reboot your system

or another error message:

2) Invalid partition table on /tmp/hda
- wrong signatue b358

or another error message:

3) An error occurred trying to initialize swap on
device hda5. The problem is serious and the
install cannot continue.


Now my laptop is considered 'dead'. No windows or Linux. Please help!!
 
Old 03-03-2006, 03:53 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Yes that looks pretty bad. You need to reboot with a rescue disk of some sort. Possibly the linux installation CD could be used. Then you can try to sort out the disk partitions. Command 'fdisk /dev/hda' should give some idea of what has happened.

Alternatively a live CD like knoppix will give you full access to the internal disk.

You may also be able to save any valuable data while you are booted off the rescue disk by copying it over the network. Depending on how the installer works a reinstallation attempt carries the risk of trashing all your data.

What distro/installation method did you use?
 
Old 03-03-2006, 07:09 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
As I read Eileen's post, installation has failed because the swap partition can't be enabled.

Eileen. Try booting from cd 1 of the installation cds. You should see a menu of choices: install, boot from hard drive, boot from cd. If you don't see such a menu, start installation again.

If you get the menu, choose boot from cd (that boots the copy of the kernel image on the cd; you have a running Linux in RAM to try to fix things).

Once running, open a console window and run cfdisk. It will show you all the partitions you currently have made. Use the arrow keys to select the swap partition; press enter.

Across the bottom of the screen, you have options of what to do with the selected parttion. Use the arrow keys to select Type; press enter. That will take you through a sequence of steps to prepare the swap partition (including one to set the partition type to 82 (Linux swap)).

When that's done, select Write to write the changes, then Quit to quit cfdisk.

Shutdown, then try the installation again.
 
Old 03-06-2006, 06:26 PM   #4
Eileen
Member
 
Registered: Oct 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Gosh, it looks really complicated. Anyway I have give up! I think I am gonna get myself another PC. Thanks guys!!
 
  


Reply



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
EXT-fs error (device hda3) in start_transaction: Readonly filesystem kiwibird Linux - Hardware 2 10-21-2005 10:15 AM
new install: can't open root device hda3 on boot Moebius Linux - Hardware 4 12-31-2004 11:06 AM
system hot swap from hda3 to hdc3 Funki Debian 1 12-16-2004 01:47 AM
error enabling swap space endezeichen Linux - General 3 11-20-2003 09:05 PM
change swap partition from hda3 to hdb ngan_yine Linux - Newbie 1 09-20-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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