Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Did you install the bootloader for Tiny Core to it's partition? You can boot Debian and mount sda3 and check the /boot/grub/grub.cfg file and if Tiny Core is using Grub2, just copy it's entry to the Debian grub.cfg file to test boot it. If it boots, copy the entry to /etc/grub.d/40_custom and update grub again.
Did you install the bootloader for Tiny Core to it's partition? You can boot Debian and mount sda3 and check the /boot/grub/grub.cfg file and if Tiny Core is using Grub2, just copy it's entry to the Debian grub.cfg file to test boot it. If it boots, copy the entry to /etc/grub.d/40_custom and update grub again.
I did install Tiny Core's boootloader on /dev/sda but after reboot I got operating system not found. Then I booted with the Debian CD, entered into the the rescue mode and reinstalled grub.
Code:
$ su
Password:
root@debian:/home/deb# mount /dev/sda3 /mnt/
root@debian:/home/deb# cd /mnt/
root@debian:/mnt# ls
lost+found tce
root@debian:/mnt# cd tce
root@debian:/mnt/tce# ls
boot mydata.tgz optional
root@debian:/mnt/tce# cd boot
root@debian:/mnt/tce/boot# ls
core.gz extlinux vmlinuz
root@debian:/mnt/tce/boot#
This is my Tiny Core partition. Which file do I need to copy and what grub entry do I need to add to /etc/grub.d/40_custom ?
I did install Tiny Core's boootloader on /dev/sda but after reboot I got operating system not found.
That means you installed the Tiny Core boot code over the Debian code in the MBR. Is this an older MBR system or UEFI? I think it would have been simpler to install the Tiny Core bootloader to it's partition (sda3) which would have enabled you to update grub from Debian. In your initial post, you indicate you ran 'update-grub2'. Does that mean you are able to boot the installed Debian? If so, why are you using the Debian CD? If you ran 'update-grub2' from the CD, that won't accomplish anything. If you have Debian Grub code in the MBR now, try putting the entry below in grub.cfg and rebooting. Do NOT update grub before rebooting. If it fails, delete the entry, if it works move it to 40_custom and run update-grub2.
Quote:
menuentry "Tiny Core" {
set root='hd0,msdos3'
linux /boot/vmlinuz append loglevel=3
initrd /boot/core.gz
}
If that fails, you will probably need to post more details and you can do that by googling and downloading and runn the 'bootinfoscript' or going to the site below and downloading and burning boot repair to a CD and rebooting the CD and selecting the option to 'Create BootInfo Summary' and not try any repairs. You can then post a link to the output here.
That means you installed the Tiny Core boot code over the Debian code in the MBR. Is this an older MBR system or UEFI? I think it would have been simpler to install the Tiny Core bootloader to it's partition (sda3) which would have enabled you to update grub from Debian. In your initial post, you indicate you ran 'update-grub2'. Does that mean you are able to boot the installed Debian? If so, why are you using the Debian CD? If you ran 'update-grub2' from the CD, that won't accomplish anything. If you have Debian Grub code in the MBR now, try putting the entry below in grub.cfg and rebooting. Do NOT update grub before rebooting. If it fails, delete the entry, if it works move it to 40_custom and run update-grub2.
If that fails, you will probably need to post more details and you can do that by googling and downloading and runn the 'bootinfoscript' or going to the site below and downloading and burning boot repair to a CD and rebooting the CD and selecting the option to 'Create BootInfo Summary' and not try any repairs. You can then post a link to the output here.
This is a mbr system. After I installed from the tiny core iso I was left with a non booting system so I used the Debian disk and used its rescue menu to reinstall grub. Yes I can boot Debian.
Code:
menuentry "Tiny Core" {
set root='hd0,msdos3'
linux /boot/vmlinuz append loglevel=3
initrd /boot/core.gz
}
Tried adding this to /boot/grub/grub.cfg but I get
Code:
error: 'file/boot/vmlinuz not found
error: you need to load the kernel first
The boot repair cd is 613 MB it will take some time on my slow connection. I am downloading it now. I will write back after I create a live usb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.