Create a multi boot rescue USB flash drive


Recommended Posts

OK they've changed the way they include it.

Copy the ntpass folder to the root of your flash drive, and then use this entry instead of the above one for ntpass:

title ntpass
kernel /ntpasswd/vmlinuz rw vga=1 initrd=/ntpasswd/initrd.cgz /ntpasswd/scsi.cgz
initrd=/ntpasswd/initrd.cgz

It at least booted for me, hope it works for you too (Y)

It worked.

Thank you for this elegant construction of a powerful program.

Can you recommend kind of a users' manual for it?

Excellent guide Si. I have a problem with the Windows PE boot manager. I get an error when I try this option: "Windows failed to start. A recent hardware or software change might be the cause." File: \Boot\BCD Status: 0xc0000225. Screenshot attached. I downloaded the files and installed on an AMD2X64 Desktop (running XP SP3 32 bit)and the laptop I'm using it on is an Acer Travelmate 803lci with Intel Centrino 32 bit.

post-269402-1226927483_thumb.jpg

Can we have a screenshot of your folder layout and the files within there please. This may help us identify the problem. I have PE on a USB stick using this boot method and it works fine, so im guessing you may be missing some files.

Here's a screenshot of my files. Everything else works fine apart from PE. I read somewhere that it could be a problem with chainloader /bootmgr but that was something like chainloader /(hd0,6) which gave exactly the same error. Please comment.

post-269402-1226941618_thumb.jpg

Hi Kevbert.

All these new posts have inspired me to update my own recovery drive - and I have just followed my own instructions successfully.

I did do two things differently to the guide you followed:

A) I did my build within Windows Vista (with SP1). Not sure if this makes any difference at all.

B) I have used the WAIK 1.1 in order to get the newer Windows PE 2.1 as opposed to 2.0

Perhaps it is worth copying the PE files to the drive again, in case your \boot\BCD file is somehow corrupt?

I will update the original post with the ntpasswd and PE 2.1 details.

It worked.

Thank you for this elegant construction of a powerful program.

Can you recommend kind of a users' manual for it?

Glad to hear it worked - unfortunately I don't have a link to a manual as such. I spent an evening working in Google to build this originally, sorry!

Kevbert,

Can you try making a copy of you EFI folder that is currently on your drive root, and place it inside the BOOT folder please and then try again. I have an EFI folder on both my drive root and in the BOOT folder, so im wondering if this has anything to do with it.

This is the only difference i can see between the two.

Other than that, can you post a copy of your menu.lst please for us.

Rich

Thanks to everyone who's replied.

I've tried installing again to a new flash drive and get the same result.

I removed PE2.0 and installed 2.1 from DVD. Regarding WAIK, two comments. In the displayed example install on the APCMAG webpage it shows 18 files are downloaded via the command prompt (I only get 17 using PE2.0 and 2.1). Also the command OSCDIMG -bc:\temp\x86_pe\etfsboot.com -n -o c:\temp\x86_pe\iso c:\temp\x86_pe.iso

- does there need to be a space between -b and c:\temp\... ?

Unfortunately I don't have Vista, I'm using Windows XP SP3.

The amount of memory in my laptop approx 1.75Gb excluding video memory (not shared).

I've tried copying the EFI folder to BOOT and it makes no difference. I have a BCD file in \BOOT which is 262144 bytes. The md5sum for this is 603c405372fae16a89ec9f3b92a1aae5 (on a linux PC).

My menu.lst boot file was copied straight from the website using Notepad:

color black/cyan yellow/cyan

timeout 60

title SystemRescueCD

kernel /rescuecd initrd=initram.igz video=ofonly vga=0 scandelay=5

initrd /initram.igz

title Windows PE

chainloader /bootmgr

title DBAN

kernel /memdisk

initrd /dban.img

title ntpasswd

kernel /ntpasswd/vmlinuz rw vga=1 initrd=/ntpasswd/initrd.cgz /ntpasswd/scsi.cgz

initrd /ntpasswd/initrd.cgz

title Memtest86

kernel /memdisk

initrd /memtestp.img

Thanks in advance.

Kevin.

I think i see your problem now. In your menu.lst file, you ahve not set the correct root. Therefore the Windows PE is not looking in the correct place for the boot files.

Try this under your Windows PE option:

find --set-root /EFI/bootmgr

chainloader /EFI/bootmgr

Let us know how you get on! (Y)

Edited by Rich
I think i see your problem now. In your menu.lst file, you ahve not set the correct root. Therefore the Windows PE is not looking in the correct place for the boot files.

Try this under your Windows PE option:

find --set-root /EFI/bootmgr

chainloader /EFI/bootmgr

Let us know how you get on! (Y)

Thanks. I assume that this should be in my menu.lst file. Unfortunately I get an error 17: File not found. I've also tried this under bash. The bootmgr file is in the root directory. Can someone attach a copy of bootmgr and BCD (the one under /BOOT).

After all the USB stick can be used for any Windows PC (or am i wrong ?)

I've even tried changing the case in menu.lst as Grub is a linux thing (just in case it's case sensitive).

Thanks. I assume that this should be in my menu.lst file. Unfortunately I get an error 17: File not found. I've also tried this under bash. The bootmgr file is in the root directory. Can someone attach a copy of bootmgr and BCD (the one under /BOOT).

After all the USB stick can be used for any Windows PC (or am i wrong ?)

I've even tried changing the case in menu.lst as Grub is a linux thing (just in case it's case sensitive).

The root i set needs to be change according to where your files are located. As far as i could tell you said you made a copy of the EFI folder to your BOOT folder so it should have worked.

The case should not be the problem. I have changed this also and it makes no difference.

Im out of suggestions myself to be honest. Im guessing there might be something wrong with the PE files you are using? :s

The root i set needs to be change according to where your files are located. As far as i could tell you said you made a copy of the EFI folder to your BOOT folder so it should have worked.

The case should not be the problem. I have changed this also and it makes no difference.

Im out of suggestions myself to be honest. Im guessing there might be something wrong with the PE files you are using? :s

Thanks Rich. It may be as Si suggested that I need to use Vista to set this up as I've tried both PE2.0 and 2.1 via the two versions of WAIK.

Thanks Rich. It may be as Si suggested that I need to use Vista to set this up as I've tried both PE2.0 and 2.1 via the two versions of WAIK.

No problem mate, always happy to help where i can. However, i dont think that is the case. I use XP and dont have this problem.

UPDATED 2008-11-17: Windows PE 2.1 update and ntpasswd fix.

******************************************************************

This is a neat little project for those of you that could be asked to help fix a PC at any moment in your life - the end result is a flash drive which when booted lets you pick from:

This was an informative post and I appreciate it. However, I prefer to use UBCD to burn a one time off disk. Because 1, a CD-R is cheaper. 2, USBs can be used for file transfer

This was an informative post and I appreciate it. However, I prefer to use UBCD to burn a one time off disk. Because 1, a CD-R is cheaper. 2, USBs can be used for file transfer

However, a USB is:

1. More portable

2. Cheap enugh in price for a 1gig drive now

3. this allows you to still move things to and from the device, even when botted from it

Your argument does not really stand much ground to be honest.

  • 2 weeks later...

Hi,

with ntpasswrd grub4dos doesn't work

->

http://www.boot-land.net/forums/?showtopic=5433

There is a guide how to combine the two ramdisk files to one, but i'm a linux newbie and I cannot make the grub4dos compatible new ramdisk with scsi drivers.

Anyone could do this?

Thanks & br

Pat

Hi,

with ntpasswrd grub4dos doesn't work

->

http://www.boot-land.net/forums/?showtopic=5433

There is a guide how to combine the two ramdisk files to one, but i'm a linux newbie and I cannot make the grub4dos compatible new ramdisk with scsi drivers.

Anyone could do this?

Thanks & br

Pat

title ntpasswd

kernel /ntpasswd/vmlinuz rw vga=1 initrd=/ntpasswd/initrd.cgz /ntpasswd/scsi.cgz

initrd /ntpasswd/initrd.cgz

Simple as that?

What error do you get when using the above?

Also, ensure that vmlinuz, initrd.cgz and scsi.cgz are in the ntpasswd folder on the root of your drive.

title ntpasswd

kernel /ntpasswd/vmlinuz rw vga=1 initrd=/ntpasswd/initrd.cgz /ntpasswd/scsi.cgz

initrd /ntpasswd/initrd.cgz

Simple as that?

What error do you get when using the above?

Also, ensure that vmlinuz, initrd.cgz and scsi.cgz are in the ntpasswd folder on the root of your drive.

ntpasswd is starting but it doesn't show any fixed harddisk in the pc, because grub4dos can't load scsi.cgz (it can only load initrd.cgz)

Im guessing, but try initrd=/ntpasswd/scsi.cgz

Are you using SCSI, IDE or Serial drives?

I have ide & sata drives,.. but ntpasswd needs the initrd.cgz to run,..

Im guessing, but try initrd=/ntpasswd/scsi.cgz

ERROR: KERNEL PANIC

Edited by mrpaddy81
Did you do it like this:

title ntpasswd

kernel /ntpasswd/vmlinuz rw vga=1 initrd=/ntpasswd/initrd.cgz initrd=/ntpasswd/scsi.cgz

initrd /ntpasswd/initrd.cgz

tryed it - it runs, but it shows ONLY the USB Stick from which I'm booting, no system disk!

multi cgz files not yet suported. As a workaround you need to combine these cgz files into one cgz file, for example, in these steps:

1. use gunzip and cpio to decompress /initrd.cgz and /scsi.cgz into a folder

2. run cpio in the folder to create a new cgz ball, called new_initrd.cgz

Then you would write the initrd line like this:

initrd /new_initrd.cgz

this is I think the only solution but I have no idea how to do it,..

tryed it - it runs, but it shows ONLY the USB Stick from which I'm booting, no system disk!

this is I think the only solution but I have no idea how to do it,..

Hmmm, strange. I see my drives on my machine regardless.

Im not much of a Linux guru, only a starter really. Hopefully someone else more Linux knowledged will see this and be able to assist further, but i have exhausted all my ideas.

Ill let people know about this thread for you though mate.

Sorry i couldnt help more (Y)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know The ONLY thing I need to know is the price, which I know will be way higher than I (and most people) are willing to pay for a phone... so basically nothing here I need to know. PS: Nice job getting that Apple reference to a non-existent and unrevealed product as "competition" in there. Cheque is in the mail.
    • Well I really think the repasting helped if your higher clocks have returned, maybe the next thing to look at is if there is a problem with your case airflow? I guess this because your 3080 has returned to optimal state, but is still staying too warm, which might suggest it was thermal throttling before you repasted, of which the only logical conclusion could be outside factors.
    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know by Hamid Ganji Galaxy Z Fold 7 - Image via Samsung The next generation of Samsung foldables is set to be unveiled next month at the second Unpacked event of the year. Samsung’s 2026 foldables are not expected to offer significant upgrades over their predecessors, with the Korean firm instead focusing on design refinements and conventional upgrades such as faster processors and better cameras. However, Samsung is reportedly planning to unveil an all-new passport-style foldable this year to rival Apple’s first foldable iPhone, which is expected to debut this September. Here’s a roundup of everything we know about Samsung’s upcoming foldable devices ahead of their official debut. When can we expect Samsung’s new foldables? The Galaxy Z Fold 7 and Z Flip 7 series were unveiled in July, and Samsung is expected to maintain this timeframe in 2026. Based on previous reports from Korean sources, Samsung will hold its Unpacked event on July 22 in London, UK, to pull back the curtain on the Galaxy Z Fold 8 series. The devices are also expected to hit the shelves a few weeks after launch. However, Samsung has yet to announce an official date. A new naming scheme? One of the most interesting changes we might see this year is a new naming scheme for Samsung’s latest foldables. SamMobile reported that since Samsung is expected to unveil three foldables this year, it has adopted a new naming strategy to simplify product identification for customers. Accordingly, the standard Galaxy Z Fold 8 will reportedly be called the Galaxy Z Fold 8 Ultra and will serve as the direct successor to last year’s Galaxy Z Fold 7. The “Ultra” suffix suggests the phone could feature higher-end specifications, such as additional rear camera modules. Samsung’s new passport-style foldable is expected to carry the Galaxy Z Fold 8 name without any suffix. This model is reportedly equipped with two rear cameras. No major changes are expected for the Flip model. Galaxy Z Fold 8 Ultra and Z Flip 8 anticipated specs Rumors over the past few months suggest Samsung is preparing several upgrades for its upcoming foldables, although the devices may continue to rely on larger batteries and faster charging speeds rather than dramatic design changes. The primary focus this year is expected to be the Galaxy Z Fold 8 and its wide-screen design. Galaxy Z Fold 8 Ultra official CAD renders - Image via AndroidHeadlines Here are the anticipated specifications for the Galaxy Z Fold 8 Ultra based on previous leaks: 6.5-inch outer display and 8-inch inner display, 120Hz refresh rate, and 2,600 nits peak brightness Snapdragon 8 Elite Gen 5 processor, paired with 12GB or 16GB of RAM and 256GB, 512GB, or 1TB of storage 4.1mm thickness when unfolded and a weight of 210g 200MP main camera, 50MP ultrawide camera, 10MP or 12MP telephoto camera, 10MP cover camera, and 10MP selfie camera 5,000mAh battery with 45W wired charging Android 17 and One UI 9 As for the Galaxy Z Flip 8, the device is not expected to be a major departure from its predecessor, although it could become slightly slimmer. Expected specifications include: Snapdragon 8 Elite Gen 5 or Exynos 2600 processor 12GB of RAM with 256GB and 512GB storage options 6.9-inch Dynamic AMOLED 2X inner dispaly and 4.1-inch Super AMOLED outer dispaly 50MP main camera, 12MP ultrawide camera, and 10MP selfie camera 4,300mAh battery with 25W wired charging Android 17 and One UI 9 Samsung’s foldables are also expected to launch with Gemini Intelligence, Google’s AI suite for automating tasks in Android ecosystem. Moreover, given current memory and component costs, some Galaxy Z Fold 8 Ultra and Z Flip 8 variants could see a price hike. Galaxy Z Fold 8 adopts a wide-screen design The centerpiece of the upcoming Unpacked event could be the Galaxy Z Fold 8, previously rumored as the Galaxy Z Fold Wide. This model adopts a passport-style form factor and is expected to compete directly with Apple’s iPhone Fold. Galaxy Z Fold 8 official CAD renders - Image via AndroidHeadlines Here’s what to expect: 7.6-inch primary OLED display and 5.4-inch cover display, 120Hz refresh rate, 2,600 nits peak brightness, and 4:3 aspect ratio Snapdragon 8 Elite Gen 5 processor, 12GB or 16GB of RAM, and 256GB, 512GB, or 1TB storage options 4,800mAh battery with 45W wired charging 50MP main camera, 50MP ultrawide camera, and 10MP selfie camera Android 17 and One UI 9 The three new foldable phones are unlikely to be the only devices unveiled at Samsung’s Unpacked event. The company is also expected to introduce the Galaxy Watch Ultra 2 and the Galaxy Watch 9 series.
    • Thanks
  • Recent Achievements

    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      141
    4. 4
      ATLien_0
      89
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!