i was just wondering how to setup a completed OS on a distant user's HDD [which probably doesn't have GRUB or for that matter any multiboot compliant OS installed, and has windows etc. ], without a dedicated partition or so, or even without slightest of repartitioning?
thanks in advance.
Installing GRUB as a part of OS setup
Re:Installing GRUB as a part of OS setup
As long as GRUB can read the file system of the previously installed OS, and the OS can handle being installed in some subdirectory of that filesystem, GRUB can boot it.
As for installing GRUB remotely, you would have to have access to the MBR (i.e., not blocked by the BIOS or the OS), and GRUB running.
Add to that that you would require some means of remotely accessing the Windows box...
I recomment you let the remote user boot his system using a Linux LiveCD (e.g. Knoppix), set up network and sshd, and give you the root password. From there it should be a piece of cake.
As for installing GRUB remotely, you would have to have access to the MBR (i.e., not blocked by the BIOS or the OS), and GRUB running.
Add to that that you would require some means of remotely accessing the Windows box...
I recomment you let the remote user boot his system using a Linux LiveCD (e.g. Knoppix), set up network and sshd, and give you the root password. From there it should be a piece of cake.
Every good solution is obvious once you've found it.
-
Curufir
Re:Installing GRUB as a part of OS setup
Well if the remote computer can do network booting (Mine can, but your mileage may vary. Check BIOS) then you can have it download a kernel/whatever from a remote TFTP server and boot that. That way you can get away without even needing a hard-drive, but I'd imagine it's a PITA to set up.
-
dc0d32
Re:Installing GRUB as a part of OS setup
what I really meant was like
"i give the distribution disk to a person on the road
he gets to his machine with some wierd os like windows installed and not even slightest os smell of GRUB or any multiboot os
[assuming that my OS can reside in the fs that the user has, and can handle the same, which of course is readable from GRUB]
now how the os setup program should work without repartitioning his disk and install GRUB as default bootloader [and probably chainload the original OS]?"
thanX
"i give the distribution disk to a person on the road
he gets to his machine with some wierd os like windows installed and not even slightest os smell of GRUB or any multiboot os
[assuming that my OS can reside in the fs that the user has, and can handle the same, which of course is readable from GRUB]
now how the os setup program should work without repartitioning his disk and install GRUB as default bootloader [and probably chainload the original OS]?"
thanX
-
AR
Re:Installing GRUB as a part of OS setup
You'll have to write you own GRUB version if you want that, WinXP/2000/NT use NTFS which is top secret and classified by Microsoft Intelligence so no one knows how it really works, and GRUB doesn't contain the limited Linux NTFS driver anyway. If they use FAT32 then it'll work but that's unlikely nowadays since FAT is an old and inefficent filesystem.
In the most likely event, you'll have to resize their partitions, create a new one in the space you freed, format it however you like, install GRUB in it, change the active partition in the MBR to the new partition with GRUB installed then install your OS and generate a config file that has a second option to chain boot Windows.
In the most likely event, you'll have to resize their partitions, create a new one in the space you freed, format it however you like, install GRUB in it, change the active partition in the MBR to the new partition with GRUB installed then install your OS and generate a config file that has a second option to chain boot Windows.
Re:Installing GRUB as a part of OS setup
Wouldn't say that, but the agencies that do know classify the info as well...AR wrote: You'll have to write you own GRUB version if you want that, WinXP/2000/NT use NTFS which is top secret and classified by Microsoft Intelligence so no one knows how it really works,
