The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ubuntu for SPARC: Linux freezes (ALOT!) huffandy Ubuntu 0 09-04-2008 05:57 PM
Difference between sun sparc 32-bit and sun sparc 64-bit pmrajesh21 SUN Solaris 1 07-09-2008 10:21 AM
How can I mount a ufs filesystem on a solaris 10 sparc onto a Linux server ilan SUN Solaris 3 06-04-2008 03:29 PM
Sun Sparc defectors tap Transitive for Linux migrations - Search Enterprise Linux iBot UNIX and Linux RSS News 0 08-16-2007 07:10 PM
C compiler to build Sparc/Solaris binaries on Linux lyonsd High Level Programming 2 12-08-2006 04:56 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-30-2008
cc878 cc878 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 1
Use Sparc HD in Linux PC?

My Sparc 10 is not working and I would like to get some data file from it. Can I use Sparc HD as an external HD to a linux PC? If I do, dies linux PC will recognize this HD and not ask to format it?

Thanks a lot.

  #2 (permalink)  
Old 10-30-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
As long as you have the right kind of controller (SCSI? IDE?) and cables to plug it in, go ahead and try. No PC that I know of just formats a hard drive because you connected it... you have to tell it to do so.

Linux should recognise the Sun label on the disk and allow you to mount and read them as long as your kernel has the required modules and utilities to support mounting UFS filesystems (I'm guessing that's what you used on your SPARC).
  #3 (permalink)  
Old 06-27-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
Quote:
Originally Posted by Annihilannic View Post
Linux should recognise the Sun label on the disk and allow you to mount and read them as long as your kernel has the required modules and utilities to support mounting UFS filesystems (I'm guessing that's what you used on your SPARC).
I strongly doubt about it.
Linux expects hard disks to have a MBR and is only able to mount low endian UFS in slices layed out in a Solaris primary partition.
SPARC (as already stated) use big endian UFS and don't use the extra layer of primary partitions.
Bits Awarded / Charged to jlliagre for this Post
Date User Comment Amount
06-27-2009 Anonymous Good 10,000
  #4 (permalink)  
Old 06-28-2009
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Strange to ressurrect such an old thread that the OP seems to have disappeared from anyway...

Linux does not expect an MBR. In fact, by default, when you initialise disks for use by Veritas Volume Manager, it uses Sun disk labels (which surprised me), e.g.


Code:
Disk /dev/sdb8 (Sun disk label): 30 heads, 128 sectors, 55508 cylinders
Units = cylinders of 3840 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sdb8p3  u          0     55508 106575360    5  Whole disk
/dev/sdb8p8  u          0     55508 106575360    f  Unknown

The endianness of the data on the filesystem is only an issue if you are trying to read it programmatically (i.e. reading multiple byte values), and can be fixed programmatically if desired... however ASCII will still be in the correct order.
  #5 (permalink)  
Old 04-11-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 748
You might have "fun" with the data having been stored in big endian and little endian format (Sparc vs. Intel), so if once you have mounted the disk the file names and or file contents look scrambled then that could be why.

See: Endianness - Wikipedia, the free encyclopedia and Dr. Bill's Notes on "Little Endian" vs. "Big Endian".

The problem can be resolved with some C code though.
  #6 (permalink)  
Old 07-06-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
I stand corrected. Thanks for the information.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0