Jump to content











Photo
- - - - -

[Help!] xboot create multi OS installer but error cant find any cd/dvd drive.....


  • Please log in to reply
14 replies to this topic

#1 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 08:34 AM

hello everyone

thanks for viewing this post , very appreciate someone could help me on this , regarding to my problem is after i create a multi OS installer into USB by using Xboot beta14 , i try the the windows 7 Ultimate , it can boot but until we need to click the "install" button the error message show up "require cd/dvd drive ........" seems like some of the method i using is not correct , but i cant found out whats wrong , can anyone help me on this ?

method i used is drag the iso from my hard disk to the xboot , then select "grub4dos iso image emulation" then i start to build already , nthings error found , b4 doing those i format my usb to fat32 just because syslinux supported then i try to boot , then it show the error already.

b4 that i also got try using PE, MSDART ,ERD (windows 7 /vista only) but got error "pkg extension" i also try format my usb to NTFS and using grub4dos is image emulation or PE,MSDART it also same error that i get


since i found out somethings wrong on my method i try doing only 1 iso but it still the same error

method of this is the syslinux (NTFS not supported)


MENU title Multi-OS installer
INCLUDE /boot/syslinux/theme.cfg
TIMEOUT 200


### MENU START
LABEL -
MENU LABEL Boot from Hard Disk
MANU START
MENU DEFAULT
COM32 chain.c32
APPEND hd1 1 swap
### MENU END


### MENU START
LABEL -
MENU LABEL Windows 7 Ultimate
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/windowsultimate.iso || find --set-root /images/windowsultimate.iso;map --heads=0 --sectors-per-track=0 /images/windowsultimate.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/windowsultimate.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END



and this is the menu.lst when Using "grub4dos" NTFS



color magenta/white white/magenta black/white black/white
timeout 10


### MENU START
title Boot from hard drive
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0,0)
### MENU END


### MENU START
title Windows 7 Ultimaten
ls /images/windowsultimate.iso || find --set-root /images/windowsultimate.iso
map --heads=0 --sectors-per-track=0 /images/windowsultimate.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/windowsultimate.iso (0xff)
map --hook
chainloader (0xff)
### MENU END

(my english is not good sorry)
thanks ~

Edited by mastermix, 24 November 2011 - 09:04 AM.


#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 08:55 AM

You cannot use this simple approach because once Windows PE boots it cannot see the sourcesinstall.wim file, because that file only exists inside the iso file and not as a 'flat' file. See http://www.rmprepusb...ials/firawiniso for how to use an ISO to install Windows Vista/7/SVR2K8.

#3 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 09:04 AM

ok i wil try it now thanks steve ~

#4 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 10:31 AM

steve...... i have encounter another error while booting via QEMU it show bootmgr is missing press any key to restart = =" please help !

#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 10:49 AM

post your menu.lst

#6 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:02 AM

Steve this is my Menu.lst ~please have a look ~ i using FAT32 my memory stick is 16GB kinston

# NORMAL HIGHLIGHT HELPTEXT HEADING in pairs consisting of foreground/background
color black/cyan blue/cyan red/light-blue red/cyan

# display this heading
write (md)0x220+1 !BATnecho -n -P:0000 $[0133] --- Windows install --- 0
initscript (md)0x220+1

title 1 INSTALL Windows 7 Ultimate 32-bitnThis will install any edition of Windows 32-bit to your hard disk
debug off
set MYISO=windows7ultimate.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;n0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

title 1 INSTALL Windows 7 Ultimate Eternity 32-bitnThis will install any edition of Windows 32-bit to your hard disk
debug off
set MYISO=windows7ultimateeternity.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;n0
chainloader (0xff)/BOOTMGR || chainloader (0xff)


title 1 INSTALL Windows Vista Ultimate 32-bitnThis will install any edition of Windows 32-bit to your hard disk
debug off
set MYISO=windowsvistaultimate.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;n0
chainloader (0xff)/BOOTMGR || chainloader (0xff)


title 1 INSTALL Windows XP Pro SP2 32-bitnThis will install any edition of Windows 32-bit to your hard disk
debug off
set MYISO=windowsxprosp2.iso
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;n0
chainloader (0xff)/BOOTMGR || chainloader (0xff)

### ADD MORE ISO MENU ENTRIES HERE - DUPLICATE THE ENTRY ABOVE AND CHANGE THE ISO FILENAME

title
root ()

title 2 Boot from 1st Hard Disk nBoot from MBR of first hard disk and remove the USB drive
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)

title
root ()

title Choose any iso file...
root ()

title 3 INSTALL WINDOWS - Boot from any Windows ISO to install WindowsnThis menu allows you to type in the name of any Windows ISO file and boot from it
# find the ISO folder by looking for a marker file
debug off
find --set-root /ISO/choose_an_iso
clear
echo
# list all files in the /ISO folder so the user can see them
ls ()/ISO/
echo
# Ask user which iso they want (name is converted to uppercase as /u is specified)
set /p /u ask=Enter iso filename WITH NO .ISO EXTENSION (e.g. Win7Pro32 ) :
if "%ask%"=="" echo No iso file specified! && configfile /menu.lst
clear
# check if user entered a valid filename with no ISO extension!
ls /ISO/%ask%.iso || echo Cannot find /ISO/%ask%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst
echo Loading /ISO/%ask%.iso - please wait ...
#set root drive to USB stick
find --set-root /firadisk/loadiso.cmd
map --mem (md)0x800+4 (99)
dd if=()/firadisk/au.xml of=()/AutoUnattend.xml
find --set-root /ISO/%ask%.iso
# run the grub4dos map command and specify the iso file we want to load
map /ISO/%ask%.iso (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
# Specify the same iso file for when firadisk runs in winpe
find --set-root /firadisk/loadiso.cmd
write (99) [FiraDisk]nStartOptions=cdrom,vmem=find:/ISO/%ask%.iso;n0
chainloader (0xff)/BOOTMGR || chainloader (0xff)
clear

Edited by mastermix, 24 November 2011 - 11:04 AM.


#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 11:12 AM

Did you install grub4dos?

#8 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:14 AM

nope @@"

#9 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:17 AM

ok i re-do everyhings + 1 more things to install the grub4dos ?

#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 11:18 AM

To try, just run RMPrepUSB and click on 'Install grub4dos'

#11 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:29 AM

steve ~ thanks for solve the bootmgr but error 21 selected disk does not exist while i press enter key to any for the title


map (hd1) (hd0)
error 21 : selected disk does not exist
press any key to continue

Edited by mastermix, 24 November 2011 - 11:31 AM.


#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 11:33 AM

If you are testing in a virtual machine, then you need to create a virtual hard disk (to install windows onto). The menu assumes you have hd0 (the USB drive) and hd1 (the HDD you are going to install windows onto). If you click the QEMU button on RMPrepUSB, it will make a virtual hard disk for you and then it will run QEMU.

Note that you cannot do a complete test under QEMU as it probably won't pick up the AutoUnattend.xml file properly - test it on a real system.

#13 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:46 AM

thanks it works !!! hhuhuhu man u are so pro ! ermmmm sorry i have 1 more question how i gonna add mac os x lion and ubuntu ? it is the same ?

#14 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 24 November 2011 - 11:48 AM

add ubuntu - see my tutorial on my website.
add Lion - sorry - no idea on this I have never tried it.

#15 mastermix

mastermix

    Newbie

  • Members
  • 14 posts
  •  
    Malaysia

Posted 24 November 2011 - 11:52 AM

oh ic i surely will go your website to learn as much as possible (but i am i newbie , i will try my best to learn it) ~ is ok i make it another memory stick only for mac os x lion ~ by the way can i edit the background ? can put picture inside of it ? same like the syslinux ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users