Tiny Core Base > TCB Q&A Forum
dual boot ubuntu and tcl
linux_oid:
The biggest problem was to realize that bzImage has capital 'I', not small 'i'.
Prepearing
# mkdir /mnt/sda8/ISO/TinyCore
# mkdir /files
# mkdir /extracted
Getting Tiny Core files
[root@AMD1400 TinyCore]# mount -o loop /mnt/sda8/ISO/TinyCore/tinycore_1.3rc1.iso
/mnt/sda8/ISO/TinyCore/files
# cp -R /mnt/sda8/ISO/TinyCore/files/boot /mnt/sda8/ISO/TinyCore/extracted
Copying files
# cp /mnt/sda8/ISO/TinyCore/files/boot/bzImage /mnt/sda8/ISO/TinyCore
# cp /mnt/sda8/ISO/TinyCore/files/boot/tinycore.gz /mnt/sda8/ISO/TinyCore
Booting from grub2 command line (sda8 has lvm flag)
> root (hd0,8)
> linux (hd0,8)/ISO/TinyCore/bzImage
> initrd (hd0,8)/ISO/TinyCore/tinycore.gz
pema:
Let me post a minor warning to save you some toothgrinding:
If you let grub do the install for you, you will have the boot loader at partition choosen by grub, and, grub overwrites your windows bootloader. This works fine as long as you never change any of your installs, but many of you here are probably testing several dists and that gives you the problem that when re-using a partition you might overwrite your bootloader so your computer will not boot next time. Sollution is to put bootloader in a persistent directory such as a windows partition. See a howto in the subject here: http://forum.tinycorelinux.net/index.php?topic=459.0
To restore your windows bootloader, boot your computer into windows(by grub or win rescue disc) and launch command "restore mbr" in terminal, this do destroy your grub bootloader searchpath but the howto instructs you howto setup a new bootloader.
With above howto you only add your new dist in grub menu.lst when experimenting.
mikshaw:
This is just opinion, but it's shared by many Linux advocates...overwriting the Windows mbr is not a problem. Grub can easily boot Windows by chainloading ntldr. The entire time I was dual-booting I used either Grub or Lilo to boot Windows. When a reinstall of Windows was required (every 6-8 months on average), I would always reinstall the Linux bootloader after Windows forced its own.
nickispeaki:
yes!
I use LinuxMint 6 (it's distro from Ubuntu 8.10) and TinyCore Linux 1.2.
you must copy 2 files (tinycore.gz and bzImage) from cdrom with tinycore1.2.iso or later and modify your existing bootloader to boot off them.
for copy use in terminal sudo cp . i copied tinycore.gz and bzImage just in /boot/
I like mint - u can just click mouse on menu "open as root" and u don't need to type commands in terminal. ;-) -fast and easy! ;-)
in Ubuntu:
press alt+f2 for "run" window . type gnome-terminal
in terminal type:
sudo gedit /boot/grub/menu.lst
(for editing of booting menu)
then in gedit go to line like
title Ubuntu 8.10, kernel 2.6.27-7-generic
root
kernel
initrd
quiet
after that lines type:
title TinyCoreLinux 1.2, kernel 2.6.26
root (hd0,5)
kernel /boot/bzImage quiet
initrd /boot/tinycore.gz
Save file menu.lst. Reboot.
for example, its a part of my menu.lst:
title Linux Mint Universal Edition, kernel 2.6.27-7-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda6 ro quiet splash locale=uk_UA
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title ?????????????? TinyCoreLinux 1.2, kernel 2.6.26
root (hd0,5)
kernel /boot/bzImage quiet
initrd /boot/tinycore.gz
(i use mint, it's much easy for newbei, like me ;-), i don't use ubuntu about 2 years - ubuntu don't work on my note Acer Aspire... i use ukrainian locale. mint and tcl boots from sda6. i have 8 partions - ntfs, hfs+, ext2, ext3, reiserfs... )
Good luck, hackers! ;-)
dr_willis:
Toying with TCL and dual booting with Ubuntu and TCl. I am installing TCl in the 'tiny' sub directory on the root of my ubuntu install. The docs are a little 'less then clear' on some of the boot options i may want to be using. I basicially want 'everything' that tiny uses to be in the 'tiny' directory. for easy moveing
Example menu.lst entry for a USB drive (root install, NOT in a sub dir)
title TinyCore on usb (sda1)
kernel /boot/bzImage tce=sda1 waitusb=5 home=sda1 opt=sda1
initrd /boot/tinycore.gz
This puts all the 'tce' support type directories on the root of the drive. I want them in the 'tiny' sub directory for my Ubuntu installed hard drive. To keep things neat So i use the following.
title TinyCoreLinux From Hard Drive
root (hd0,2)
kernel /tiny/boot/bzimage tce=sda1/tiny/tce home=sda1/tiny opt=sda1/tiny
initrd /tiny/boot/tinycore.gz
***HOWEVER*** im not clear (and am testing now with lots of reboots) is the following.
for home and opt options. Should i be using the options like
opt=sda1/tiny
or should i be using
opt=sda1/tiny/opt
Trying to track down a nice clear list of all the directory options. I may be overlooking some.
It would be nice if there was a everything=sda1/tiny option. 8)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version