WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: boot tcl from harddrive  (Read 3503 times)

Offline ananix

  • Full Member
  • ***
  • Posts: 174
boot tcl from harddrive
« on: July 03, 2014, 07:48:13 AM »
Hello i have installed TCL on a harddrive but i need some method of booting it straight from the same harddrive?
Does anyone one know how to install a boot loader and make the masterboot record call it?
I cant seem to get anything to work :(

  -- Andreas

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: boot tcl from harddrive
« Reply #1 on: July 03, 2014, 08:00:30 AM »
sorry guys my procedure i think it is actualy working :/

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14640
Re: boot tcl from harddrive
« Reply #2 on: July 03, 2014, 08:01:32 AM »

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: boot tcl from harddrive
« Reply #3 on: July 03, 2014, 08:14:45 AM »
nope, that guide does not really fit my needs, and beside the TCL to harddrive installation is fine, it is only a mather of booting it.

The thing is i got it working but then i confused my self and generated some errors that is then persued... i could not do a fast test on the machine as it was now working so i startet to use a virtual one instead, the way i boot the USB on the virtual machine is to call a theird party bootloader that then calls the boot loader on a disk of choise. Aparently that theird party loader had a problem with loading from disk because when i removed it and made the virtual bios boot directly from the disk it worked.

Now only thing left is to completely delete everything on the physical machine and make sure it really does work.

Sorry for all the jitter :(

And thanks for your help everyone!

  -- Andreas

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: boot tcl from harddrive
« Reply #4 on: July 03, 2014, 12:10:29 PM »
to end the threat with something usefull im gonna add this:
to install a grub in the master boot record all you have to do is to point at the boot directory located on your disk something like this "grub-install --root-directory=/mnt/sda1 /dev/sda"
Ofcourse after you have copied the the boot folder to /mnt/sda1

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: boot tcl from harddrive
« Reply #5 on: July 03, 2014, 02:49:07 PM »
here's my main rig's Grub2 grub.cfg file which boots various tc-5.x installs and Windows etc etc

just for reference or modify to suit, hope that helps
but easy to follow guide in the grub2.tcz info file
Code: [Select]

insmod part_msdos
insmod fat
insmod ext2
loadfont unicode
set gfxterm=auto
terminal_output gfxterm


#Timeout for menu
set default=1
set timeout=60



menuentry "TC-5-x86 (on SSD)" {
search --no-floppy --fs-uuid --set=root 5AE6-1546
linux /boot/vmlinuz-3813 noswap tz=GMT loglevel=3 waitusb=5:UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" tce=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c"/x86 opt=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" home=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" lst=onboot32nvidia.lst mydata=mydata32xorg
initrd /boot/rootfs-530.gz /boot/modules-3813.gz
}

menuentry "TC-5-x86_64 (on SSD)" {
search --no-floppy --fs-uuid --set=root 5AE6-1546
linux /boot/vmlinuz64-3813 noswap tz=GMT loglevel=3 waitusb=5:UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" tce=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c"/x86_64 opt=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" home=UUID="5d14ddd5-7fa7-40c5-a247-07ac5e9c6a8c" lst=onbootpure64.lst mydata=mydata64pure
initrd /boot/rootfs64-530.gz /boot/modules64-3813.gz
}

menuentry "Windows (on SSD)" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 20F27562F2753CDA
ntldr ($root)/bootmgr
}


menuentry "Windows (on Seagate HDD)" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root EE26108A261055C5
ntldr ($root)/bootmgr
}
« Last Edit: July 03, 2014, 03:12:01 PM by coreplayer2 »