Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

remote dual booting

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
nivw
Apprentice
Apprentice
Posts: 261
Joined: Wed Nov 09, 2005 2:07 am

remote dual booting

  • Quote

Post by nivw » Tue May 02, 2006 10:35 am

Hay,
I seek a solution to allow switching from windows to linux and back from a remote pc.
I guess I can change the default value to point to windws in linux.
I still need to be able to change that value from windows - to allow boot to linux.
I couldnt get a driver to read the EXT2 /boot partition. can I put /boot/grub/grub.conf on a fat partition?

Niv
Top
huh_dude
Apprentice
Apprentice
User avatar
Posts: 166
Joined: Fri Aug 12, 2005 9:26 am
Location: Melbourne, Australia

  • Quote

Post by huh_dude » Tue May 02, 2006 6:00 pm

1st Storyline screen Postulate:
This kinda Soapie is reaching hacker territory, hypothetically the hero'd be asked to demonstrate a marketable enterprise solution as proof of good faith to mankind. In the future anticipating legal inquiries you, the protagonist, based on the correct hypothesis that you are steered toward criminal suspicion necessitated that you phrase a carefull business plan alibi. Which anyone can recite back instantly. At a guess your identity has been analysed by millions of religious fanatics, but in the follow-up series season you evolve a genetic variation. Which makes you invulnerable to decayed pizza and gravitic shifts in the time-space envelope. You remain seated because of it.
teh last part was important, setflags bit in...
#include <milk>
#include <iomanip>
int main()
{
const float large_mug=pourPot;
cin>> coffee | large_mug;
cout<<"Coffee"=coffee;
}
#make Coffee ..was zero, the program wouldn't work.
Top
Rodent
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sat Sep 06, 2003 8:46 am
Location: Noblesville, Indiana

  • Quote

Post by Rodent » Wed May 03, 2006 11:22 am

From the grub manual
Support multiple filesystem types
Support multiple filesystem types transparently, plus a useful explicit blocklist notation. The currently supported filesystem types are BSD FFS, DOS FAT16 and FAT32, Minix fs, Linux ext2fs, ReiserFS, JFS, XFS, and VSTa fs
So yes you can have /boot on a FAT partition. And choose reboot OS by toggling default remotely.

-- OR --

Just have it toggle though grub.conf (untested)
This should make linux reboot to windows and vica versa every time.

Code: Select all

timeout 10
# boot last saved entry
default saved

# For booting GNU/Linux
title GNU/Linux 2.6.15
root (hd0,0)
kernel /kernel-2.6.15-r7 root=/dev/sda4
# boot into windows next
savedefault 1

# For booting Windows NT or Windows95
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader  +1
# boot into linux next
savedefault 0
Top
nivw
Apprentice
Apprentice
Posts: 261
Joined: Wed Nov 09, 2005 2:07 am

  • Quote

Post by nivw » Wed May 03, 2006 11:33 am

thnaks for the replay
I am just about to use the — Command: configfile file Load file as a configuration file located on a different fat partition . I usually like to use a seperate partition for the virtual memory of windows. as it can be fat , I can put grub.conf there.

lets recap, what disadvatages are there to using fat for /boot?

I am thinking of a secnerio of an old pc that cant boot from a partition exciding cylinder 1024. /boot must reside on a logical partition - so both linux and windows may access it. I think it is imposible to boot of a logical partition - right?

Niv
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Wed May 03, 2006 5:04 pm

nivw wrote:lets recap, what disadvatages are there to using fat for /boot?
Yes, you can have a vfat /boot partition, but be aware that symlinks don't work on vfat.

This means that the 2 default symlinks grub.conf -> menu.lst and boot -> . won't be there.
Top
nivw
Apprentice
Apprentice
Posts: 261
Joined: Wed Nov 09, 2005 2:07 am

final cut

  • Quote

Post by nivw » Thu May 04, 2006 7:54 am

OK I took the fat partition approch.
I decided to cultivate a 512Mb logical fat32 partition to be used for windoz virtual memory.
there I put the grub.conf file.

I should point out that /boot/grub/grub.conf still exist, and the first few lines there read:
timeout 5
default 0
title load menu from fat partition
configfile (hd0,8)/grub.conf
Top
zen_guerrilla
Guru
Guru
User avatar
Posts: 343
Joined: Thu Apr 18, 2002 9:49 am
Location: Greece

  • Quote

Post by zen_guerrilla » Thu May 04, 2006 9:59 am

You can also get a null modem serial cable and configure grub to use console on serial port. Just add somehing like the following lines in /boot/grub/menu.lst:

Code: Select all

# serial console
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=3 serial console
then emerge net-misc/taylor-uucp and run

Code: Select all

cu -l ttyS0 -s 9600

or run hyperterminal on a windows box to connect to that box over serial and control grub.
Top
dinkumator
n00b
n00b
Posts: 16
Joined: Fri Nov 07, 2003 6:41 am
Location: tennessee, usa
Contact:
Contact dinkumator
Website

  • Quote

Post by dinkumator » Thu May 04, 2006 4:24 pm

if you use LILO its easy in linux:

Code: Select all

lilo -R windows
sets a one-time default for the next restart to the label "windows"
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic