LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-30-2007, 03:29 PM   #1
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Rep: Reputation: 31
undoing htfs formatting


Hi,
I'm trying to install Suse 10.2 dual boot, windows is already installed. I just suffered a catastrophic power surge which killed the MB, the CPU and the largest HD but spared the smaller HD. This is the error I get when installing:
"setting type of partition /dev/hdb6 failed. Sys.Err. code 1012."
Because I've spent days on this system trying to salvage anything, I just told the repair guy to go ahead and install Windows for me after replacing the MB and CPU, removing the fried HD and swapping the smaller disk to be primary.
I believe now that that move was a mistake. After several suse install failures, I spent some time examining the windows xp side and noted that the disk was formatted ntfs!
I recall that I read some time ago that Linux has problems with ntfs. Would this explain my problem?
If so, how can I reformat the disk and re-install my copy of XP with vfat?
Or, is there a less radical solution?
Matthew

Last edited by drmjh; 07-02-2007 at 04:47 PM.
 
Old 06-30-2007, 05:02 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Modern Linux distros can at least read NTFS OK (I assume you mean NTFS, I'm not aware of an "htfs"). However, to install Linux you're going to need to shrink the NTFS partition to have free space to install Linux. I am not sure if the SuSE installer can do this, but you can get the GPARTED LiveCD -- it can resize NTFS partitions.
 
Old 06-30-2007, 05:50 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Maybe "fdisk -l" is reporting HPFS ???.
This is probably just a NTFS partition that has been marked hidden. I think Partition Magic used to do things like that after resizing.
I'd just go into fdisk and change the type from x'17' to x'7'. As btmiller said, NTFS is no problem for Linux these days - I certainly wouldn't entertain thoughts of using FAT for the 'doze install partition.

As for the what the Suse installer is doing - who knows. I found it a piece of crap, and gave up trying to install it.
 
Old 07-01-2007, 05:59 AM   #4
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
I found an old copy of Partition Magic and thought I would make it easy for the Suse Installer by creating an ext2 partition.
It made no difference. The installer stopped at the same spot, namely the point where it proposes and looks at the partition rearrangement. Once I agree to the proposal, I get the error: "Failure occurred while setting type of partition /dev/hdb5 to 82. I have no idea what 82 means but according to my partition magic, the following is set up:

Partition Type SizeMB UsedMB Un-usedMB Status Prim/Log
------------------------------------------------------------------
C: NTFS 52548 4486 48056 Active Primary
(*) unallocated 1255 0 0 none Primary
(*) Extended 98821 2055 96766 None Primary
LocalDisk Linux Ext2 2055 2055 0 None Logical
(*) unallocated 96766 0 0 None Logical
------------------------------------------------------------------

PM doesn't seem to support anything that resembles "Type 17 or 7". It could be that there is a bug in the installer. I wouldn't know that because I updated rather than "new install" from Suse 10.1, hence it wasn't necessary for the installer to change the partitions.
I think I'd rather have dental cavity drilled.
Thanks for the input so far, any further suggestions at this point?
Matthew
 
Old 07-01-2007, 11:55 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
NTFS is type x'7' - so that's nothing to worry about.
Type x'82' is Linux swap - I have no idea why that can't be created by the installer.
 
Old 07-01-2007, 02:40 PM   #6
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Thanks for the input. At least I have a direction to aim my search at. Would I be breaking protocol by posting a question in the Suse area posing just this question: "Any problems/Solutions noted by Suse 10.2 creating a Linux Swap partition at new installation"?
Matthew
 
Old 07-02-2007, 04:06 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Can't see why - you've got a problem, check any problem tracking they have, then ask away.
 
Old 07-02-2007, 04:45 PM   #8
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Thanks All,
By identifying the swap partition as 82, you permitted me to frame the problem exactly and thereby solve it.
After entering "suse 10.2 installer failure to set a linux swap partition" into Google, it returned more than 10 pages full of similar problems. Since my connection is so unbearably slow, I made a trip to a nearby hotel with an unprotected WiFi and mooched a connection with my laptop and downloaded about 4 hours worth of reading.
At the end of all this, I did use Partition Magic on the windows side to partition the HD. First I removed all partitions except the Windows NTFS. Then I created one large Extended Primary partition. On this I created a Logical, Ext3,Partition, leaving a bit more than 1MB on the remaining unallocated space. Here I created a linux swap partition, checked it all over for mistakes and then quit.
On my suse install, I had to go to expert partitioning to make sure that the installer didn't revert to its old tricks and try to create a swap file that it didn't know how to. The installation worked faultlessly at this point.
From my reading, my guess is that there is a simple fault in the installer that tries to install a swap file but gets the 'type' wrong. Could even be a typo!
Many thanks to all for your help.
Matthew
 
  


Reply

Tags
install, ntfs, suse



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undoing pppoeconf poison5151 Linux - Networking 1 09-25-2006 11:51 AM
Undoing dual boot ChuckBales Linux - Software 3 01-15-2006 12:48 AM
undoing umask cthorsen Linux - Software 5 08-13-2003 12:49 AM
undoing a 'make install'... pdmackenzie Linux - Software 10 01-03-2003 11:32 PM
Can I mount only one htfs dir(my documets) for use in RedHat 7.3? Mydchip Linux - General 2 12-17-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:45 PM.

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