WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Lubuntu 15.10 dualboot instructions request  (Read 1937 times)

Offline TCLSeb

  • Newbie
  • *
  • Posts: 6
Lubuntu 15.10 dualboot instructions request
« on: December 21, 2015, 07:45:01 PM »
I am currently running lubuntu 15.10 and I want to perform a dual install with TC on it so that I can access my files/mount partition when I log from either system and have persistent applications on TC.
The end goal here for me is to be able to boot and out-benchmark bodhilinux and lubuntu with TC while running all the same apps.

Any pointers are much appreciated.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Lubuntu 15.10 dualboot instructions request
« Reply #1 on: December 22, 2015, 09:35:10 AM »
Core is just 2 files.
Add a paragraph to your current bootloader that loads the kernel and initrd.

See examples in the wiki, and please read the book.

Offline TCLSeb

  • Newbie
  • *
  • Posts: 6
Re: Lubuntu 15.10 dualboot instructions request
« Reply #2 on: December 22, 2015, 11:10:52 AM »
Should I create a new partition where to install tinycore?

currently my partitions read the following:
/dev/sda1 fat32     mount point: /boot/efi
/dev/sda2 ext4       mount point: /
/dev/sda3 linux-swap


If so what kind of partition, what should i name it and how big should it be?



Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Lubuntu 15.10 dualboot instructions request
« Reply #3 on: December 22, 2015, 01:00:57 PM »
Not needed to install to a separate partition but depends on your preference.
FAT or EXT. NTFS would be possible after remastering core.gz.
Name (LABEL) doesn't matter.
My bloated installs can reach about 5 GB but a few hundred MB should be sufficient in most cases. For a very lean install even below 100 MB.

I would install manually to
.../sda2/tce/boot/vmlinuz
.../sda2/tce/boot/core.gz
.../sda2/tce/optional/*.tcz

Then build up from there.
If you don't have ethernet access you might want to copy extensions from the  cde/optional  directory of the CorePlus ISO  to  .../sda2/tce/optional/  so you can have a X session and wifi straight away.
Download a copy and keep it handy: Core book ;)

Offline TCLSeb

  • Newbie
  • *
  • Posts: 6
Re: Lubuntu 15.10 dualboot instructions request
« Reply #4 on: December 23, 2015, 01:56:19 AM »
I am reading the book. I don't want  to have to use a livecd or usb every time.   What should I do? I had originally extracted the iso into a folder on lubuntu and made a boot entry into grub with the asssistance of someone at the chat but i lost the log of how to do that after i did the clean reinstall of lubuntu, how can i do this again?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Lubuntu 15.10 dualboot instructions request
« Reply #5 on: December 23, 2015, 04:26:59 AM »
Provided your bootloader is GRUB2 and is installed on sda1, you probably have a file  .../sda1/boot/grub/grub.cfg (or similar location).
Crate a file next to  grub.cfg  with the file name  custom.cfg .
GRUB2 will by default search for this file and use its content. This way you can add additional boot options that won't get removed when your Lubuntu install rewrites grub.cfg after an update.

If you want to boot Tiny Core on sda2, using the structure I suggested above, add this to custom.cfg:
Code: [Select]
menuentry "Tiny Core 6.x" {
insmod ext2
linux (hd0,msdos2)/boot/tce/boot/vmlinuz  quiet loglevel=3 tce=sda2 desktop=openbox
initrd (hd0,msdos2)/boot/tce/boot/core.gz
}
Download a copy and keep it handy: Core book ;)