Booting HD without grub

Booting HD without grub

Rabin Yasharzadehe rabin at rabin.io
Thu Sep 12 14:15:49 IDT 2013


w
​hat have you tried?
looking on my local grub.cfg ​file (grub2)
​you *can* set a partition as root for boot

​menuentry 'Fedora (3.10.10-200.fc19.x86_64) 19 (Schrödinger’s Cat)'
> --class fedora --class gnu-linux --class gnu --class os
> $menuentry_id_option 'gnulinux-simple-f898ea23-5a86-4dc3-a239-0b894e65b0a0'
> {
>         load_video
>         set gfxpayload=keep
> *        insmod gzio
>         insmod part_msdos
>         insmod ext2*
> *        set root='hd0,msdos1'
> *        if [ x$feature_platform_search_hint = xy ]; then
>           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1
> --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd0,msdos1'
>  cb24a093-a2b0-4447-a254-320de4db1bd2
>         else
>           search --no-floppy --fs-uuid --set=root
> cb24a093-a2b0-4447-a254-320de4db1bd2
>         fi
>         echo 'Loading Fedora (3.10.10-200.fc19.x86_64) 19 (Schrödinger’s
> Cat)'
>         linux   /vmlinuz-3.10.10-200.fc19.x86_64
> root=/dev/mapper/vg_SSD-root ro vconsole.keymap=us rhgb quiet selinux=0
> libahci.ignore_sss=1 rd.luks=0 rd.lvm.lv=vg_SSD/root rd.lvm.lv=vg_SSD/swap
> rd.dm=0 rootfstype=ext4 elevator=deadline LANG=en_US.UTF-8
>         echo 'Loading initial ramdisk ...'
>         initrd /initramfs-3.10.10-200.fc19.x86_64.img
> }




On Thu, Sep 12, 2013 at 1:56 PM, Eli Marmor <eli at netmask.it> wrote:

> Thank you Shlomi.
> No success, so far.
> I'll give more details, so if anybody can help, I'll be grateful.
> I'm also willing to bring the system to anywhere and/or pay:
>
> I have a full Linux system (old Mandrake) on hdd4, including
> /boot/vmlinuz, /boot/initrd.img, etc. (all the system on one partition).
> It has been booted for years from another disk.
> The file system is correct (according to fsck), and mountable (when the
> computer is booted from a live-CD).
> All I want is to boot it once, manually, without writing any MBR, but from
> a live CD.
> Any live-CD and grub has its own limitations, for example some of them
> can't reach hd3,4 (although they can mount hdd4!).
> I believe that for some of you it's a matter of minutes.
>
> Anybody can help?
>
> Thanks a lot,
> Eli Marmor
>
>
> On Wed, Sep 11, 2013 at 8:38 PM, Shlomi Fish <shlomif at gmail.com> wrote:
>
>> Hi Eli,
>>
>> On Wed, Sep 11, 2013 at 7:37 PM, Eli Marmor <eli at netmask.it> wrote:
>>
>>> Hi,
>>>
>>> I have an old PC (with an old Mandrake), and its grub screwed up.
>>> I want to boot it WITHOUT re-installing the grub (I don't want to touch
>>> the HD till I see it works again, but boot it manually from a
>>> Live-CD/floppy).
>>> How can I do it from a Live-CD or floppy?  (both work under this PC).
>>> What Live-CD/floppy is recommended for this purpose?
>>> Can I do it from the boot prompt?
>>>
>>
>> The GRUB command prompt allows you to enter any arbitrary GRUB command
>> and boot the machine however you like. So if the LiveCD contains a working
>> GRUB installation, you can use the GRUB command prompt there to boot it
>> like you would boot from the hard disk.
>>
>> Regards,
>>
>> -- Shlomi Fish
>>
>>
>>>
>>> Thanks,
>>> Eli Marmor
>>>
>>> _______________________________________________
>>> Linux-il mailing list
>>> Linux-il at cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>>
>> --
>> ------------------------------------------
>> Shlomi Fish http://www.shlomifish.org/
>>
>> Electrical Engineering studies. In the Technion. Been there. Done that.
>> Forgot a lot. Remember too much.
>>
>> Please reply to list if it's a mailing list post - http://shlom.in/reply.
>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>


-- 
*Rabin*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20130912/f582f27b/attachment.html>


More information about the Linux-il mailing list