WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How can you save boot option settings to avoid prompt?  (Read 1611 times)

Offline teagy

  • Newbie
  • *
  • Posts: 16
How can you save boot option settings to avoid prompt?
« on: July 30, 2012, 03:35:41 PM »
Hi everyone. I'm a new TCL user. I've gotten the basic Core (8MB) installed in VMware workstation with an IDE virtual hard drive. I have the persistent /tce directory on a partition I created and it's working fine. However, while persistent /opt and /home works fine when I specify the option at boot, I need to be able to have that setting saved so I don't have to type it in again when I reboot. Otherwise, I have to resort to backup which I know will take longer if the backup is large. Is there any way to create persistent boot options so every time it boots with those options and I don't have to type them in every time? While setting /tce was a one time thing, is there a way to set opt=sda1 and home=sda1 as a one time thing as well?

Thanks,
TJ
« Last Edit: July 30, 2012, 03:38:42 PM by teagy »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: How can you save boot option settings to avoid prompt?
« Reply #1 on: July 30, 2012, 03:39:48 PM »
Hi teagy
Add  opt=  and  home=  in the kernel line for your boot loader?

Offline teagy

  • Newbie
  • *
  • Posts: 16
Re: How can you save boot option settings to avoid prompt?
« Reply #2 on: July 30, 2012, 04:12:09 PM »
So what is the location of the boot loader on the Core Image? I didn't install any myself. If I have to install one myself, which one should I use (grub, extlinux, syslinux)?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How can you save boot option settings to avoid prompt?
« Reply #3 on: July 30, 2012, 04:31:02 PM »
That would be on your virtual hard drive.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: How can you save boot option settings to avoid prompt?
« Reply #4 on: July 30, 2012, 04:38:06 PM »
Hi teagy
If you are booting from the ISO file
Adding  opt=sda1 home=sda1  to the  append  line in the isolinux.cfg file under  boot/isolinux/  in the
ISO should do it.

Offline teagy

  • Newbie
  • *
  • Posts: 16
Re: How can you save boot option settings to avoid prompt?
« Reply #5 on: July 30, 2012, 05:01:36 PM »
Thanks a lot. That did it.