Jump to content











Photo
- - - - -

Booting non 512 byte sector size ?


  • Please log in to reply
67 replies to this topic

#26 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14778 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 February 2012 - 07:45 AM

:frusty: :ranting2: When i wiped with your dd command
dd if=/dev/zero of=/dev/sdb bs=2048 count=1000
my MP3 Player did not boot !!!!! and i could not format it with internal menu !!
can i recovery it with first10002048.bin ?

Yes, you should be able to.

BTW, there should be a "hard reset" of some kind :unsure::
http://answers.yahoo...18130214AAcj22e

:cheers:
Wonko
  • mbzadegan likes this

#27 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Iran

Posted 06 February 2012 - 10:08 AM

Well, if the grub4dos sequence would be located in the MBR,
you need absolutely no PBR. :D

The grub4dos sequence MBR directly searching for the grldr file and the menu.lst file.

Then it would not matter if the boot sector has 512 or 2048 bytes.

The proof of the pudding is in the eating. :worship:

Regards,


Well, :suda:
What is the best way to install GRUB4DOS on 2048 Sector Size ?

#28 NetFanTom

NetFanTom

    Frequent Member

  • .script developer
  • 117 posts
  •  
    Germany

Posted 06 February 2012 - 01:55 PM

Please use Grubinst

http://sourceforge.n...ubinst%201.0.1/

Posted Image

The menu.lst and grldr files must be located in the root directory of the USB partition.

NetFanTom
:cheers:
  • mbzadegan likes this

#29 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Iran

Posted 06 February 2012 - 03:15 PM

When i execute grubinst , this message was appear !



D:grubinst>grubinst.exe (hd1)

grubinst: read: Invalid argument



#30 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14778 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 February 2012 - 03:19 PM

NetFanTom,
JFYI right now there is NO MBR, nor partition, on that device, i.e. it is a superfloppy.
And as it seems, the device does some checks when booting.
From the files that were posted, four bytes at offset 0x5C were changed by the internal format, as well as 4bytes at 0x800 and another bunch @0x09E4.

:cheers:
Wonko
  • mbzadegan likes this

#31 NetFanTom

NetFanTom

    Frequent Member

  • .script developer
  • 117 posts
  •  
    Germany

Posted 06 February 2012 - 03:25 PM

Sorry, have you access under Windows?

#32 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 06 February 2012 - 07:58 PM

@Wonko
Scared to post this fear of being laughed at but could this help in some way ?
To configure the drive:
  • Set the drive mode to LBA in the BIOS setup.
  • Boot Solaris.
    WARNING! Continuing will destroy any partitions that are on this drive.
  • Create a disk geometry file for Solaris.
    WARNING! EXCEEDING 16383 CYLINDERS WILL LOCK-UP YOUR DISK DRIVE.
    Our formula: x * y * z = s. Where x is the number of cylinders (x cannot exceed (2**14) - 1 = 16383), y is the number of heads, z is the number of sectors per track, and s is the total number of sectors available on the drive. By setting y = 1, we get the following:
    x * 1 * z = s, or x * z = s. By further setting x = 16383, we get: 16383 * z = s.
    Solve for z (number of sectors per track): z = s / 16383. For example:
    Western Digital AC 418000 (18.2GB) - Total sectors = 35,239,680. 35,239,680 / 16383 = 2150.99 = 2150
    NOTE: All results must be rounded down. Solaris reserves three cylinders, so making x smaller would end up wasting space.
    Create a file called "geometry" like the following (using our example above) where NSECT is the value solved for z (2150):
    * Label geometry for device /dev/rdsk/c0d0p0
    * PCYL NCYL ACYL BCYL NHEAD NSECT SECSIZ
    16383 16383 2 0 1 2150 512
  • Run fdisk in Solaris using the new geometry file:
    fdisk -S geometry -I /dev/rdsk/c1d0p0
    Replace "/dev/rdsk/c1d0p0" with your raw disk device (The trick is to let fdisk ignore the geometry reported by the BIOS and use the geometry specified in file "geometry" instead).
  • From here on, you can format, partition, and make filesystems on the drive in the usual manner.
For details see the fdisk(1M), prtvtoc(1M), and fmthard(1M) man page.
[Thanks to Pete Howell and Jürgen Marenda]

#33 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 06 February 2012 - 10:02 PM

It reminds me of this:
http://blogtext.org/...ticle/7287.html

#34 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14778 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 February 2012 - 10:09 PM

@Wonko
Scared to post this fear of being laughed at but could this help in some way ?

I have no idea. (I mean without a source or a context it CANNOT be useful for *anything*)


At first sight it is some SOLARIS OS specific set of instructions for partitioning a very old type of hard disk by "forcing" real hard disk geometry to a "single head" one.

Carpenter's comparison:
Q. Which force settings (level) should I set to use a last generation internal combustion gas powered nailer machine on pine wood?
A. Use a smallish hammer, not exceeding half a pound in weight for all nails shorter than 3".

Comment:

As useless as a carpet fitters ladder





Or, if you prefer:
Posted Image

vs.

Posted Image

=


Posted Image


but thanks anyway for trying to help :).

:cheers:
Wonko

#35 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 06 February 2012 - 10:18 PM

@ Wonko
Thats ok if you raise your head above the parapet you might take a snipers bullet "Ces't la Guerre"
It was a reference to fdisk & geometry.

Edited by saddlejib, 06 February 2012 - 10:18 PM.


#36 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14778 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 February 2012 - 10:33 PM

It was a reference to fdisk & geometry.

Sure :), but it was a reference to the SOLARIS fdisk and to the particularly limited compatible geometry of a very old edition of Solaris, version 7 (or 5.7):
http://www.unixguide...86faq/5.8.shtml
http://en.wikipedia....Version_history

:cheers:
Wonko

#37 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Iran

Posted 07 February 2012 - 06:18 AM

Sorry, have you access under Windows?


I could not bootable My MP3Player Under Linux & Windows with grubinst.

#38 NetFanTom

NetFanTom

    Frequent Member

  • .script developer
  • 117 posts
  •  
    Germany

Posted 07 February 2012 - 02:14 PM

Sorry, maybe it's better to buy in this case an empty USB flash drive. :smart:

Use the MP3 player for MP3
and for everything else about USB the USB Flash Drive.

Regards,
NetFanTom

#39 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 07 February 2012 - 07:12 PM

Hi mbzadegan,.

When you plug it in, does it register at all, now?
If it does, what does it register as when plugged?
I mean, in devices, or on the green usb taskbar icon, what is the info, name of it?
Then look for the name in registry.
In the reg key you'll find the VID/PID.
Which you can use to find the model of your mp3 player.
And more importantly the firmware and loader (that is, if you don't have it anymore).

-Does your MP3 player work at all now?
-Can you still upload to it?

Tapes are better anyway.



:)
  • mbzadegan likes this

#40 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Iran

Posted 08 February 2012 - 07:57 AM

Dear betrand,
Yes , it register as WALKMAN on portable device in device manager
Registry Values are : name:Sony WALKMAN vid:054c pid:059a path:1/4/7 speed:high family:storage
Yes , I can upload any files on it and now i listening to my favorite music.
if tapes can bootable i select tapes ;)

Edited by mbzadegan, 08 February 2012 - 08:33 AM.


#41 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Iran

Posted 08 February 2012 - 12:46 PM

I think that like this link http://www.syslinux....ary/007870.html i must changed sector size in syslinux source !!
can anyone help me to change sector size in syslinux source from 512 to 2048 ??

#42 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 08 February 2012 - 09:58 PM

Wenn Du entdeckst, dass Du ein totes Pferd reitest, steig
The micro controller sees it as a Writeable cd using sonys software.
for example i.e
I have a PNY drive 4GB which was a normal dare we say, usb drive but by using software from flashboot.ru (as it was SMI)Silicon Motion Industries micro controller. Using chipgenius to determine pid and vid and software from flashboot.ru i was able to create CD drive and removeable drive on this pendrive two partitions i can write and boot from the removeable part but first partition (cd_drive) boots as cd not visible in disk management. Visible in explorer as Cd/Dvd drive 2048 sectos but not Writeable.
  • mbzadegan likes this

#43 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 08 February 2012 - 10:19 PM

Unrelated:
I feel that reboot.pro should look into the area of flashboot.pro and if not offering the software, should translate and describe how it works.
If only as part of the reboot.pro ethos

" Boot anything Anyware"
  • mbzadegan likes this

#44 steve6375

steve6375

    Platinum Member

  • Developer
  • 6944 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 08 February 2012 - 10:46 PM

The utilities are very varied and specific to particular models. There are a lot of different utilities!

#45 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 08 February 2012 - 11:04 PM

Yes. Steve6375
Its a minefield as you know but if the controller ain't playing your fighting a losing battle.
I managed to fudge my through flashboot.ru and its Taiwanese/Chinese (still don't know which) counterpart and alter my PNY stick. Only because the factory tool was there
I've researched the Walkman and apparently it does'nt return a vendor with chipgenius (i don't have the drive, so don't truly know) Yes,bad science I Know .
Reboot.pro doesnt have to host the software, let's not get into legality again (god knows Judges struggle) but could through the endevours of it's members better translate what the software does if one should happen upon it.
Your thoughts would be much appreciated.

#46 steve6375

steve6375

    Platinum Member

  • Developer
  • 6944 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 08 February 2012 - 11:18 PM

As each app is specific, you can really only write about it if you happen to own a USB Flash drive that works with it AND you are willing to risk completely trashing it too! I have already written up what I have tried. Some/most? of the utils only work under XP and most install a driver and/or need a reboot.
  • mbzadegan likes this

#47 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 08 February 2012 - 11:27 PM

Exactly, I feel this topic ia about an MP3 player which sees the 'stick' via controller as a writeable cd/dvd-rom under certain conditions as defined by Sony's ptovided software.
Hence
Well that's it really.
EDIT:
"Dead in the Water" sprang to mind.

Edited by saddlejib, 08 February 2012 - 11:30 PM.

  • mbzadegan likes this

#48 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 09 February 2012 - 07:39 PM

Hi,
Anything 'unusual' appears in USBSTOR?

Edit:Actually, if you say:

Exactly, I feel this topic ia about an MP3 player which sees the 'stick' via controller as a writeable cd/dvd-rom under certain conditions as defined by Sony's ptovided software.

, I guess you already have looked round there.


Cheers.
  • mbzadegan likes this

#49 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 10 February 2012 - 02:07 PM

Hulo, again.


Anything 'unusual' appears in USBSTOR?

I was just asking, for my information. There might be the PID of the cd part there,
or in any case the PID you get might just be the PID of the CD part. I.e, not the whole USB.
The "real PID" might appear somewhere else. Then you'd be able to get the real VID /PID of the device, and not just the VID.
  • mbzadegan likes this

#50 saddlejib

saddlejib

    Frequent Member

  • Advanced user
  • 270 posts
  •  
    United Kingdom

Posted 10 February 2012 - 07:12 PM

As usual I have to eat my words, 'But Hey' .
I believe I've found the solution to your problem after not quite believing my self I did some more searching and not having the drive myself makes things difficult.
Here it is its in Russian but translate to the language of your choice::::
Good Luck

http://claris-verbis.ru/mtp

Although I dont know if the sector sizes will be 512 test it

Edited by saddlejib, 10 February 2012 - 07:20 PM.

  • mbzadegan likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users