Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
b9bbd4c3
Commit
b9bbd4c3
authored
Apr 23, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grub: Add items boot with local drive for grub-pc (iso)
use/grub/localboot, use/grub/sdab similar to use/syslinux/localboot, use/syslinux/sdab.
parent
d36acb28
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
10localboot_bios.cfg
features.in/grub/cfg.in/10localboot_bios.cfg
+13
-0
95sdab_bios.cfg
features.in/grub/cfg.in/95sdab_bios.cfg
+19
-0
No files found.
features.in/grub/cfg.in/10localboot_bios.cfg
0 → 100644
View file @
b9bbd4c3
if [ "$grub_platform" = "pc" ]; then
menuentry "Boot from hard drive" {
insmod part_msdos
insmod chain
set oldroot="$root"
if [ "$root" = hd0 ]
then set root=(hd1)
else set root=(hd0)
fi
chainloader +1
set root="$oldroot"
}
fi
features.in/grub/cfg.in/95sdab_bios.cfg
0 → 100644
View file @
b9bbd4c3
if [ "$grub_platform" = "pc" ]; then
menuentry "Boot from 1st hard/flash drive" {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd0)
chainloader +1
set root="$oldroot"
}
menuentry "Boot from 2st hard/flash drive" {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd1)
chainloader +1
set root="$oldroot"
}
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment