Re: Installer shouldn't be able to install grub on ntfs partitions

2009-10-19 Thread Przemek Kulczycki
Please file a bug about it.

2009/10/19 Alan Searchwell :
>
>
> I always use the advanced options in the installer to install grub to the 
> root partition of the distro I'm installing. Since I'm dual booting with 
> windows, I then use grub4dos to boot into linux. This gives me a quick and 
> easy method to restore the ability to boot linux after a Windows re-install 
> since all that is required to set up grub4dos is to copy a file (grldr) to 
> the Windows boot partition and edit Windows startup menus to launch that file.
>
> Today I did an installation that had a weird partition table. The entries  
> were:
>
> /dev/sda1   *   1    1275    10241406    7  HPFS/NTFS
> /dev/sda2    1276    7476    49809532+   f  W95 Ext'd (LBA)
> /dev/sda5    1276    6024    38146311    7  HPFS/NTFS
> /dev/sda6    6025    7269    1431   83  Linux
> /dev/sda7    7270    7476 1662696   82  Linux swap / Solaris
>
> Notice, no sda3 or sda4. When I chose the advanced options during install, I 
> was given the option of installing grub to sda, sda1 (Microsoft Windows XP 
> Professional), sda5 or sda6. Since I was expecting the Linux partition to be 
> sda4, I got confused and thought that sda6 must be the swap partition (dumb 
> me) so I installed grub to sda5. This has made my NTFS partition inaccessible 
> with no easy way to correct this mistake.
>
> The installer is smart enough to know that grub can't be installed to swap 
> space so, the swap partition is not offered as an option for installing grub. 
> From today's experience NTFS partitions are not suitable for installing grub 
> so they should not be offered as options either.  IMHO Ubuntu's installer 
> does a fine job of saving users from themselves and this little extra check 
> would take that protection one step further.
>
>
> _
> Keep your friends updated—even when you’re not signed in.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>



-- 
## Przemysław Kulczycki >><< Azrael Nightwalker ##
# jabber: azrael[na]jabster.pl | tlen: azrael29a #
### www: http://reksio.ftj.agh.edu.pl/~azrael/ ###

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Installer shouldn't be able to install grub on ntfs partitions

2009-10-18 Thread Felix Miata
On 2009/10/19 04:49 (GMT) Alan Searchwell composed:

> I always use the advanced options in the installer to install grub to the
> root partition of the distro I'm installing.

When you're multi-booting (more than one OS per system, as opposed to dual
booting, which is exactly two operating systems per system), it's nuts to do
it any other way. Putting Grub on the MBR is license for Windows to drive you
even more nuts than normal.

> Since I'm dual booting with
> windows, I then use grub4dos to boot into linux. This gives me a quick and
> easy method to restore the ability to boot linux after a Windows
> re-install since all that is required to set up grub4dos is to copy a file
> (grldr) to the Windows boot partition and edit Windows startup menus to
> launch that file.

You don't need to bother with grub4dos. dd can make a copy of your root or
boot partition's partition boot sector as a file. Copy that file to the
Windows boot partition (C:\), put a stanza for it in boot.ini, and ntldr will
offer it to you in its menu. http://fm.no-ip.com/install-doz-after.html

> Today I did an installation that had a weird partition table. The entries
> were:

> /dev/sda1   *   11275102414067  HPFS/NTFS 
> /dev/sda21276747649809532+   f  W95 Ext'd (LBA) 
> /dev/sda512766024381463117  HPFS/NTFS 
> /dev/sda6602572691431   83  Linux
> /dev/sda772707476 1662696   82  Linux swap / Solaris

Disks typically vary in speed according to physical sector position on disk.
Usually the lowest numbered sectors perform best. The tail of the disk is
usually the worst place for swap. If Linux performance matters to you, don't
put Windows at the front if you can help it either. C: can be the 2nd, 3rd or
4th primary if you take the trouble to make it so, usually easiest by doing
100% of your ultimate partitioning in advance of any OS installs.

> Notice, no sda3 or sda4.

All that means is there are only 2 primary partitions on the disk. XdX1-XdX4
are always reserved for primaries, no matter how many actually exist. The
first logical is always #5, though the primary starting at the front of the
disk isn't necessarily always #1.
-- 
"   A patriot without religion . . . is as great a
paradox, as an honest man without the fear of God. . . .
2nd U.S. President, John Adams
 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Installer shouldn't be able to install grub on ntfs partitions

2009-10-18 Thread Alan Searchwell


I always use the advanced options in the installer to install grub to the root 
partition of the distro I'm installing. Since I'm dual booting with windows, I 
then use grub4dos to boot into linux. This gives me a quick and easy method to 
restore the ability to boot linux after a Windows re-install since all that is 
required to set up grub4dos is to copy a file (grldr) to the Windows boot 
partition and edit Windows startup menus to launch that file.
 
Today I did an installation that had a weird partition table. The entries  were:
 
/dev/sda1   *   1    1275    10241406    7  HPFS/NTFS
/dev/sda2    1276    7476    49809532+   f  W95 Ext'd (LBA)
/dev/sda5    1276    6024    38146311    7  HPFS/NTFS
/dev/sda6    6025    7269    1431   83  Linux
/dev/sda7    7270    7476 1662696   82  Linux swap / Solaris
 
Notice, no sda3 or sda4. When I chose the advanced options during install, I 
was given the option of installing grub to sda, sda1 (Microsoft Windows XP 
Professional), sda5 or sda6. Since I was expecting the Linux partition to be 
sda4, I got confused and thought that sda6 must be the swap partition (dumb me) 
so I installed grub to sda5. This has made my NTFS partition inaccessible with 
no easy way to correct this mistake.
 
The installer is smart enough to know that grub can't be installed to swap 
space so, the swap partition is not offered as an option for installing grub. 
From today's experience NTFS partitions are not suitable for installing grub so 
they should not be offered as options either.  IMHO Ubuntu's installer does a 
fine job of saving users from themselves and this little extra check would take 
that protection one step further.
                   
  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss