Jump to content











Photo
- - - - -

Edit Boot.ini on NTFS filesystem from Dos


  • Please log in to reply
19 replies to this topic

#1 Emiel Wieldraaijer

Emiel Wieldraaijer

    Member

  • Members
  • 35 posts
  •  
    Netherlands

Posted 27 August 2006 - 10:19 AM

This utility will allow you to edit \BOOT.INI in an NTFS partition from DOS or Win9x.
Version 1.01.1

http://www.terabyteu...ds/editbini.zip

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 30 August 2006 - 09:12 AM

I would add these two GUI tools:
http://www.dx21.com/SOFTWARE/Dx21/ViewItem...SI=2&OID=14
http://web.archive.org/web/20071223130653/...SI=2&OID=14
http://web.archive.org/web/20071223130653/...ADS/BOOTINI.zip

http://www.dx21.com/SOFTWARE/Dx21/ViewItem.ASP?OID=6
http://web.archive.org/web/20061207042746/...wItem.ASP?OID=6
http://web.archive.org/web/*hh_/www.dx21.c...OADS/MSDSYS.zip

First one to edit BOOT.INI :
Posted Image[/s]
and second to edit win9x MSDOS.SYS:
[img]http://web.archive.org/web/20071215235047/http://www.dx21.com/SOFTWARE/DX21/SCREENSHOT/MSDSYS.gif[/img]

in graphical modes.

jaclaz

Links updated to Wayback Machine ones.
Read this:
http://www.boot-land.net/forums/index.php?...=2681&st=24
if you have problems with the downloaded .zip

#3 Emiel Wieldraaijer

Emiel Wieldraaijer

    Member

  • Members
  • 35 posts
  •  
    Netherlands

Posted 04 September 2006 - 02:10 PM

@jaclaz

Thnx for the nice GUI utils .. but those won't work in DOS :P maybe with the HXLoader

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 04 September 2006 - 02:59 PM

Yep, I thought it was more like a "tools to change boot files" rather than in the DOS section... :P

jaclaz

#5 Ove

Ove

    .script developer

  • .script developer
  • 192 posts
  • Location:Fagaras, Romania
  •  
    Romania

Posted 05 September 2006 - 06:39 PM

@jaclaz

Thnx for the nice GUI utils .. but those won't work in DOS :P maybe with the HXLoader


What is HXLoader?

#6 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 September 2006 - 10:09 PM

A program that will allow you to run win32 console apps under plain DOS (or freedos most cases).

Can also make a few GUI apps run - however more complex apps will still fail to work.

Can make win32 qemu and 7zip work fine..


:P

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 06 September 2006 - 10:01 AM

@Ove
the name of the project is HX DOS:
http://www.japheth.de/
http://www.japheth.de/HX.html

jaclaz

#8 Mikorist

Mikorist

    ▂ ▃ █ ▅ ▆

  • Advanced user
  • 771 posts
  •  
    United Nations

Posted 10 September 2006 - 09:26 PM

Your link for MSDOS.SYS editor
must be:
http://www.dx21.com/...wItem.ASP?OID=6

#9 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 11 September 2006 - 10:18 AM

Your link for MSDOS.SYS editor
must be:
http://www.dx21.com/...wItem.ASP?OID=6


You are right, copy and paste error :P , fixed now! :P

jaclaz

#10 wendy

wendy

    Frequent Member

  • Lady
  • 290 posts
  • Location:one mile from the QR main line
  • Interests:Operating systems, Weights and Measures, Geometry
  •  
    Australia

Posted 29 June 2008 - 07:51 AM

Alternately, use bartpe to do this.

#11 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 June 2008 - 11:02 AM

Alternately, use bartpe to do this.


Wow!

We did not think about that. :)

Thanks, we were left almost two years without an alternative to DOS. :)

I may add that one could use also a Linux Live CD with NTFS read/write access! :)


jaclaz

#12 Emiel Wieldraaijer

Emiel Wieldraaijer

    Member

  • Members
  • 35 posts
  •  
    Netherlands

Posted 29 June 2008 - 06:02 PM

Alternately, use bartpe to do this.


no read the title "from dos" :)

off course bartpe

#13 wendy

wendy

    Frequent Member

  • Lady
  • 290 posts
  • Location:one mile from the QR main line
  • Interests:Operating systems, Weights and Measures, Geometry
  •  
    Australia

Posted 30 June 2008 - 09:43 AM

I normally store boot.ini on a FAT16 partition, because i multiboot. Editing boot.ini is relatively straight forward, because it is already in a partition that DOS can see. None the same, i had to fix a machine with boot.ini on an NTFS partition.

Much as i like DOS, i don't believe it is useful for editing files on foreign file systems. Really, because the way some editors work, the file can easily become detatched from its extended attributes.

eg edit file.x might do 1. ren file.x file.~x; save buffer to file.x

What happens is that the pointers for file.x follows the rename, and becomes file.~x. We then create a new file to create the file, which then has a new pointer. It happens in OS/2, for example. It's more a problem of the file system, but something like OS/2 stores EA's in a hidden file system, while Windows 95/NT stores ea's in the directory structure itself (actually, by fake enteries in the directory file.

None the same, the purpose is to edit boot.ini, not an exercise in DOS. One has to keep in mind that if you are going to edit boot.ini, why not consider editing CONFIG.SYS on hpfs partitions, etc.

Boot.ini is used in WinNT up to 5.2, but vista has an alternative method involving binary files and about 6 MB of guff on the boot drive, which i suspect is not going to be edited by DOS. In any case, the most common method for Vista to trash boot.ini is to do things to NTLDR and NTDetect (it moves these to a subdirectory). For this case, simply editing boot.ini from DOS is not going to fix it.

You really need some support for support for the file system. Further note that VFAT has LFN only when the Win32 shell is loaded. So it's better to load either WinPE or the likes to do read-write access. Maybe OS/2 or Linux?

#14 Emiel Wieldraaijer

Emiel Wieldraaijer

    Member

  • Members
  • 35 posts
  •  
    Netherlands

Posted 30 June 2008 - 08:29 PM

Hi Wendy,

google doslfn.exe -> long file names support in dos..

When it's possible i use DOS .. and there is one simple reason ..

it's booting faster...

Best regards,

Emiel Wieldraaijer

#15 wendy

wendy

    Frequent Member

  • Lady
  • 290 posts
  • Location:one mile from the QR main line
  • Interests:Operating systems, Weights and Measures, Geometry
  •  
    Australia

Posted 01 July 2008 - 10:30 AM

You might like to see my contributions at the Wikipedia under DOS, PC-DOS, MS-DOS u.s.w.

http://en.wikipedia....Talk:IBM_PC-DOS
http://en.wikipedia....iki/Talk:MS-DOS

etc.

I do know about rom-dos 7 supporting LFN, and also LFN itself, and the LFN tools.

DOS does indeed boot faster, but you can achieve a faster result by using an alternate disk with boot.ini and the latest ntldrs to directly boot into Windows NT.

I understand what ye are up to, the thing is also to get DOS to recognise the drive too.

#16 dos forever

dos forever
  • Members
  • 2 posts
  •  
    Canada

Posted 15 September 2009 - 02:56 PM

You might like to see my contributions at the Wikipedia under DOS, PC-DOS, MS-DOS u.s.w.

http://en.wikipedia....Talk:IBM_PC-DOS
http://en.wikipedia....iki/Talk:MS-DOS

etc.

I do know about rom-dos 7 supporting LFN, and also LFN itself, and the LFN tools.

DOS does indeed boot faster, but you can achieve a faster result by using an alternate disk with boot.ini and the latest ntldrs to directly boot into Windows NT.

I understand what ye are up to, the thing is also to get DOS to recognise the drive too.

There's a free dos program nt4dos.exe one can get from the internet which will make dos read and write to ntfs partition.

#17 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 15 September 2009 - 03:55 PM

There's a free dos program nt4dos.exe one can get from the internet which will make dos read and write to ntfs partition.


Hmmm. :(
I have the feeling that you missed reading this:
http://www.boot-land...?act=boardrules
particularly #2.
:unsure:

NTFS4DOS is available here:
http://www.free-av.c...s_personal.html

:(

jaclaz

#18 dos forever

dos forever
  • Members
  • 2 posts
  •  
    Canada

Posted 15 September 2009 - 05:33 PM

Hmmm. ;)
I have the feeling that you missed reading this:
http://www.boot-land...?act=boardrules
particularly #2.
;)

NTFS4DOS is available here:
http://www.free-av.c...s_personal.html

;)

jaclaz

You're right I didn't read the board rules.
And I've the feeling you're hinting I've broken some boardrules. Now I've read it, so much to read, but still I don't know what rule I broke other than mispelled the ntfs4dos file name. Trying to help people is not easy !

#19 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 15 September 2009 - 05:57 PM

You're right I didn't read the board rules.
And I've the feeling you're hinting I've broken some boardrules. Now I've read it, so much to read, but still I don't know what rule I broke other than mispelled the ntfs4dos file name. Trying to help people is not easy !


Not really "broken", but dangerously near. :(

I personally see this:

There's a free dos program nt4dos.exe one can get from the internet which will make dos read and write to ntfs partition.

as strangely similar to the bolded part of Rule #2:

2. Use some common sense. Don't post your question under multiple topics. Think before posting and choose the right topic for you question or answer. When posting, have something to say, not just "My First post!" or "Cool site!!!" We sort of have the idea by now :( .
It is much appreciated, when you post a reference to something, to provide a link to it.
Replies like "I remember there was an app that did that, cannot remember it's name" are pretty much useless.


:unsure:

And of course this latter part of Rule #2 is not the "main" part of it, and #2 is not one of the "main" Rules, as an example this one is much more important:

12. SMILE! ;) Life is tough, we all know that, when you enter this board, it will be appreciated that you leave your personal problems behind, asking and replyinq questions or however exchanging informations with a "positive" attitude, TAKE IT EASY ;) and enjoy your stay here.


;)

:unsure:

jaclaz

#20 wendy

wendy

    Frequent Member

  • Lady
  • 290 posts
  • Location:one mile from the QR main line
  • Interests:Operating systems, Weights and Measures, Geometry
  •  
    Australia

Posted 04 May 2010 - 10:44 AM

ftp://ftp.uni-rostock.de/pub/systems/wind...ting/ntboot.zip

This is NTBOOT 3.5 which gives editing to the NT boot.ini under DOS, complete with menu etc.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users