WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Optionally boot TC, XP or Ubuntu  (Read 10004 times)

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #15 on: September 06, 2009, 03:52:18 PM »
OK, Win XP boots fine with Grub!! Thanks for the menu.lst instructions!
However, TC still don't want to boot, saying files cannot be found...
Now I have exactly the same menu.lst Guy recommended:
efault 0
timeout 5

title   Windows
root   (hd0,0)
makeactive
chainloader   +1

title   Tiny Core
root   (hd0,2)
kernel   /boot/bzImage quiet tce=hda3 home=hda3 max_loop=255
initrd   /boot/tinycore.gz

How could I check if the files are there, and if Grub is set up correctly?
Just a small additional info:
Following TC install instructions, I started by downloading the ISO. I noticed it contained v2.3, but it did not start the GUI, so I returned to booting by netboot, which loads v2.2. I have performed all steps described in the install guide successfully, copying the files from the live CD of v2.3...

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Optionally boot TC, XP or Ubuntu
« Reply #16 on: September 07, 2009, 10:23:55 AM »
If Windows boots OK, this indicates that Grub is set up OK.

It is difficult to know what you have done.

Check that you have typed it correctly. If you have one spelling mistake, it won't work.

What partition is Tiny Core in?

If it is in hda3 (IDE hard drive - older computers), you use:

title   Tiny Core
root   (hd0,2)
kernel   /boot/bzImage quiet tce=hda3 home=hda3 max_loop=255
initrd   /boot/tinycore.gz

If it is in sda3 (SATA hard drive - newer computers), you use:

title   Tiny Core
root   (hd0,2)
kernel   /boot/bzImage quiet tce=sda3 home=sda3 max_loop=255
initrd   /boot/tinycore.gz

If it is in hda2 you use:

title   Tiny Core
root   (hd0,1)
kernel   /boot/bzImage quiet tce=hda2 home=hda2 max_loop=255
initrd   /boot/tinycore.gz

You will notice the Grub number (following root) is one less than the Linux number (following kernel - two places).

Try different numbers. If it doesn't work, let us know what partition Tiny Core is in.
Many people see what is. Some people see what can be, and make a difference.

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #17 on: September 07, 2009, 11:30:38 AM »
Hi Guy,

good point: my TC is on sda3, I have changed the config accordingly:
root (hd0,2)
kernel /boot/bzImage quiet tce=sda3 home=sda3 max_loop=255
initrd /boot/tinycore.gz

however, it still cannot find the file...
Is therea file browsing extention available? MC or similar... I would check if the file is really there, etc

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Optionally boot TC, XP or Ubuntu
« Reply #18 on: September 07, 2009, 11:38:12 AM »
Are you running from the live CD, and connected to the internet?

If you are, you could install Xfe file manager and use that to see what is there.


You can also do it from the terminal.
Many people see what is. Some people see what can be, and make a difference.

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #19 on: September 07, 2009, 11:50:25 AM »
Not from live CD but from netboot.
Thanks, i give it a try

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Optionally boot TC, XP or Ubuntu
« Reply #20 on: September 07, 2009, 12:46:43 PM »
Does using grub's builtin find command help?

From grub boot menu, enter 'c' to get grub command prompt
grub>

grub> find (hd0,2)/                  then press tab to see files, look for boot

Change drive specification untll you find the boot directory containing the stage... files and menu.lst
10+ Years Contributing to Linux Open Source Projects.

Offline combo3

  • Full Member
  • ***
  • Posts: 148
Re: Optionally boot TC, XP or Ubuntu
« Reply #21 on: September 07, 2009, 02:04:15 PM »
Not from live CD but from netboot.

Run fdisk -l from a terminal and post what devices you have installed.

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #22 on: September 07, 2009, 02:59:45 PM »
Roberts: following your instructions it seems the files are there:
find (hd0,2)/boot/
  Possible files are grub bzImage microcore.gz

There is a subdir in this directory, too, that I can see in Xfe, as Guy recommended. It is called grub, which contains 15 items, among others the menu.lst, stage1, stage2 and stage2_eltorito

Is it OK?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Optionally boot TC, XP or Ubuntu
« Reply #23 on: September 07, 2009, 03:15:13 PM »
What happens when you use the 'e' command to temporarily edit the Tiny Core grub kernel line and remove tce=hda3 home=hda3 max_loop=255 and try booting, what do you see?

Also, is this a flash device? If so, you will need to add waitusb=5 to your boot options.
10+ Years Contributing to Linux Open Source Projects.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Optionally boot TC, XP or Ubuntu
« Reply #24 on: September 07, 2009, 03:55:02 PM »
The commands above are for Tiny Core.

If you are using microcore, you need to use

initrd   /boot/microcore.gz


also see

/microcore.html][removed due to policy violation]/microcore.html
Many people see what is. Some people see what can be, and make a difference.

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #25 on: September 08, 2009, 02:36:30 AM »
Oops, that's it! Accudentally, I copied the files of micro core instead of tc!
Let's start from the beginning...

Offline adszhu

  • Newbie
  • *
  • Posts: 15
Re: Optionally boot TC, XP or Ubuntu
« Reply #26 on: September 08, 2009, 03:52:23 AM »
Of course it works now :)

Thanks a lot for all the help!

Have a nice day, guys