Then this what we do :
First partitioning the hard drive, we make 4 partitions, two for windows, one for linux system and one for swap :
REM lecteur cd = R:\Then we copy the necesssary files in the s: partition
select vol 0
assign letter=r
REM Nettoyage du disque dur
select disk 0
clean
REM creation des partitions
create partition primary SIZE=8000
create partition primary SIZE=20000
create partition primary SIZE=32000
create partition primary
REM formatage
select partition 1
format FS=FAT32 LABEL=SWAP QUICK
Assign Letter=S
select partition 2
format FS=FAT32 LABEL=LINUX QUICK
offline volume
select partition 3
format FS=NTFS LABEL=Donnees QUICK
assign letter=D
select partition 4
format FS=NTFS LABEL=Windows quick
assign letter=C
active
We get vboot from https://sourceforge.net/p/vdfuse/wiki/_discuss/thread/7c0b2059/7731/attachment/vboot.zip (vdfuse on sourceforge) which give us a working grub for windows.
the zip file is decompress at s:\vboot and we copy s:\vboot\vbootldr.mbr at s:\vbootldr.mbr
then we modify the grub.conf file, this section :
menuentry "Install Linux" {After that take the vmlinuz and initrd.img files from the correspondig fedora serveur http://mirrors.ircam.fr/pub/fedora/linux/releases/22/Server/x86_64/os/images/pxeboot/
set gfxpayload=keep
linux (hd0,1)/vmlinuz ro inst.stage2=http://your.repo.server/fedora/releases/22/Server/x86_64/os/ ip=dhcp ks=http://your.repo.server/ks22.cfg net.ifnames=0 biosdevname=0
initrd (hd0,1)/initrd.img
}
Next step is to modify the windows boot :
SET UID={b5c3a250-0a09-11e5-8432-080027fe3cd6}
cd /d c:\windows\system32
BCDEDIT /CREATE %UID% /D "Deploiement Linux" /APPLICATION BOOTSECTOR
BCDEDIT /SET %UID% DEVICE PARTITION=S:
BCDEDIT /SET %UID% path \vboot\vbootldr.mbr
BCDEDIT /DISPLAYORDER %UID% /ADDLAST
BCDEDIT /bootsequence %UID%
BCDEDIT /TIMEOUT 0
All these steps recap in our post-install script :
Rem script Linux Deployment
rem copying files for grub
ROBOCOPY "%~dp0vboot" "s:\vboot" /MIR
COPY "%~dp0vboot\vbootldr" "s:\" /Y
COPY "%~dp0initrd.img" "s:\" /Y
COPY "%~dp0vmlinuz" "s:\" /Y
rem BCD modification
SET UID={b5c3a250-0a09-11e5-8432-080027fe3cd6}
cd /d c:\windows\system32
BCDEDIT /CREATE %UID% /D "Deploiement Linux" /APPLICATION BOOTSECTOR
BCDEDIT /SET %UID% DEVICE PARTITION=S:
BCDEDIT /SET %UID% path \vboot\vbootldr.mbr
BCDEDIT /DISPLAYORDER %UID% /ADDLAST
BCDEDIT /bootsequence %UID%
BCDEDIT /TIMEOUT 0
On the next boot, you should start your linux deployment.
Hope this will help.
The vboot is a free software, maybe Dell could integrate it in k2000 future release with the support for a fedora repo and help the developer !
But don't andertand : "%~dp0vboot" "s:\vboot"
how to put vboot to S: ???
please help me
thank - ENPCAssistance 8 years ago
In batch script %~dp0 mean script Drive letter and Path. I use robocopy to copy the vboot directory and it's content to s:\, /MIR option is for MIRror. - gwir 8 years ago
this line : ROBOCOPY "%~dp0kickstart" S:\ /E
where I can download it ? and for what??
Thank for a possible message. - ENPCAssistance 8 years ago