Jump to content
XPEnology Community
  • 0

Boot without USB - install jun's loader on the same Hard disk as OS and data


emailme0909

Question

Hi,

 

Has anyone managed to integrate Jun's loader into a hard drive? this way you would not need a separate USB stick to boot.

I found some instructions here but they are old (for DSM 5.2) and do not work for me. I assume the fundamentals should be the same. A hard drive with 3 partitions bootloader (jun's loader), OS (partition made by DSM) and Data (partition made by DSM)

 

Is this possible? If you have done it, would you please provide instructions?

I would like to try it on Vmware (or similar software) to see if it can work.

 

I would appreciate your help.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
Le ‎18‎/‎09‎/‎2019 à 08:33, emailme0909 a dit :

Hi,

 

Has anyone managed to integrate Jun's loader into a hard drive? this way you would not need a separate USB stick to boot.

I found some instructions here but they are old (for DSM 5.2) and do not work for me. I assume the fundamentals should be the same. A hard drive with 3 partitions bootloader (jun's loader), OS (partition made by DSM) and Data (partition made by DSM)

 

Is this possible? If you have done it, would you please provide instructions?

I would like to try it on Vmware (or similar software) to see if it can work.

 

I would appreciate your help.

 

 

That is possible i have always an old DSM version without card reader ou usb stick.

Install normal Xpenology

After copier the Boot is in a little free partition on the disk installed ...

 

***************************************************************************************************

 don389   

I'll make the same assumptions as the OP.

You have a working NAS with an optical drive and a console.

 

1. Boot a live CD with gparted. I used the live CD iso from gparted.

2. Copy the boot partition (16Mb) from your current boot device to unallocated space on your first hard disk and flag as bootable.

Note the partition. In my case it was /dev/sda4 If yours is different, adjust the next steps accordingly.

3. Remove the live CD and boot from your current boot device.

4. At the GRUB boot screen, press 'c' and enter the following:

grub> root (hd0,3)

grub> setup (hd0)

grub> {Esc}

5. Resume booting from your current boot device.

6. Login as root. With DSM5 beta I can do this at the console. With 4.3 I use PuTTY.

7. Type fdisk -l to verify your new boot partition.

8. Mount the partition and edit grub.conf as follows:

DiskStation> mount /dev/sda4 /mnt

DiskStation> vi /mnt/boot/grub/grub.conf

change 'root (hd0,0)' to 'root hd(0,3)'

9. Poweroff, remove your current boot device, and boot from the hard disk.

 

****************************************************************************************************

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...