[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub2 booting Dell Diagnostics
From: |
Arbiel Perlacremaz |
Subject: |
Re: Grub2 booting Dell Diagnostics |
Date: |
Sat, 07 Mar 2015 16:32:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Le 05/03/2015 19:56, Ole Reier Ulland a écrit :
> I have sent this e-mail to address@hidden without getting any useful
> replies, so now I try this e-mail-address.
>
> The computer is a Dell Dimension 8300, with a SATA HDD with Grub2, Linux and
> data partition, and a IDE HDD with Dell Diagnostics, Windows and data
> partition.
>
> I had to give up on Grub because Grub seems not to be able to boot Windows on
> a different HDD than where the Grub is, and bios is not able to start Grub on
> an IDE HDD when there is a SATA HDD.
>
> I attempt to have the "Dell Diagnostics" partition to be bootable from Grub2
> menu.
>
> Grub2 produces an option for booting Windows in the menu that is not in the
> /boot/grub2/custom.cfg file. What I have done is to make a copy of the
> automatically produced menu entry and made one myself in the custom.cfg file.
> An identical copy booted Windows. So now is the question of how to change it
> so it will boot the other partition on the same HDD. I changed the menu line,
>
> "msdos2" to "msdos1" since I am now booting the first partition and not the
> second, and the UUID. I believe those to be correct, but what remains is the
> file system type.
>
> QUOTE from /boot/grub2/custom.cfg,
>
> menuentry 'Dell Diagnostics (on /dev/sda1)' {
> insmod part_msdos
> insmod fat
> set root='hd0,msdos1'
> if [ x$feature_platform_search_hint = xy ]; then
> search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-
> efi\=hd0,msdos1 --hint-baremetal=ahci0,msdos1 O7D4-0318
I don't know the value of ${feature_platform_search_hint}, whether it is
"y" or anything else, so your trouble may stem from something else. Your
search instruction, with a "\" between "--hint-efi" and "=hd0,msdos1" is
quite strange, isn't it ?
On the other hand, I wouldn't be surprised Andrei to be wright when he
writes
"This could mean that first sector of this partition (that you load and
execute) does not contain any valid bootcode at all. I won't be
surprised if BIOS is using some vendor-specific mechanism to start when
asked to boot from this partition."
As long as I can remember, the "Dell Diagnostics" partition is for the sole use
of Dell technicians when they take control over your PC in a telemaintenance
session.
> else
> search --no-floppy --fs-uuid --set=root 07D4-0318
> fi
> drivemap -s (hd0) ${root}
> chainloader +1
> }
>
> END QUOTE
>
> When Grub2 boots Mageia4 on file system id "83" (Linux) the menu says,
> "insmod
> ext2".
> When Grub2 boots Windows on file system id "7" (HPFS/NTFS/exFAT) the menu
> says, "insmod ntfs".
> What shall I then use in the menu in "insmod xxx" when I want to boot Dell
> Diagnostics on file system id "de" (Dell Utility)? Unless this booting needs
> something else, that the Windows partition did not need, it is not "fat",
> "vfat" nor "DellUtility".
>
> As the menu entry is right now it only causes the computer to restart.
>
> Sincerely,
>
> Ole Reier Ulland
> Norway
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub
>
signature.asc
Description: OpenPGP digital signature
- Re: Grub2 booting Dell Diagnostics,
Arbiel Perlacremaz <=