Re: [ubuntu-in] Error in command grub-install

2010-06-04 Thread deepak kumar
Hello Ravi.
Try this
1.boot using live cd
2.mount your linux root partition in /mnt
  $mount -t extX  /dev/sdaX  /mnt
3.now bind necessary system directories
$mount --bind /sys /mnt/sys
$mount --bind /dev /mnt/dev
$mount --bind /proc /mnt/proc
4.now chroot to /mnt
   $chroot /mnt
5.now run update grub
   $update-grub
6.now install grub
   $grub-install /dev/sda
7.recheck installation
   $grub-install --recheck /dev/sda
8.if no error message is found then exit
$exit
9.unmount all  the mounted devices
  $umount /mnt/dev
  $umount /mnt/sys
  $umount /mnt/proc
10.now reboot
  $reboot



On Thu, Jun 3, 2010 at 10:44 AM, Jkhatri  wrote:

>  On Wednesday 02 June 2010 09:33 PM, Ravi Joshi wrote:
>
>   Hi. i am trying to install Grub using Ubuntu9.04 Live CD i tried to
> run grub-install command  but it gives me some error... following is my
> terminal...
>
>
> GRUB>
>
> and here when i run boot command it gives me ERROR 5. KERNEL MUST BE BOOTED
> BEFORE GRUB (i forgot what exactly the eroor was.)  and now i can't login
> even my windowsXp.
>
> so please help me..
>
> -Ravi Joshi
>
>
> Hi Ravi
>
> will you try following ... and post the result here ??
>
>
>
>   1. If you have Grub 2 set to boot without displaying the menu at all,
> hold the SHIFT key down until the menu displays. (In Grub it was the ESC
> key.)
>   2. Press any key once the menu is displayed to 'freeze' it. Then arrow to
> the kernel you want to boot.
>   3. Press "e"
>   4. Scroll to the end of the "linux /boot/vmlinuz" line. If displayed,
> remove "quiet" and/or "splash". Add the word "single" to the end of the
> line.
>   5. Press CTRL-X to boot to the Recovery menu.
>
>
>
>
>
> --
>
> Jatin Khatri
>
> Web www.khatrijatin.co.nr
>
> www.fedoraproject.org/wiki/Jatin
>
> Phone (+91) 98250 20393
>
> Save Paper, Save Environment.**
> *(Plant at least one tree in your life and nurture it !!!)*
>
>
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>


-- 
d...@k$
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Error in command grub-install

2010-06-04 Thread deepak kumar
Hello Ravi.
Try this
1.boot using live cd
2.mount your linux root partition in /mnt
mount -t extX  /dev/sdaX  /mnt
3.now bind necessary system directories
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
4.now chroot to /mnt


On Thu, Jun 3, 2010 at 10:44 AM, Jkhatri  wrote:

>  On Wednesday 02 June 2010 09:33 PM, Ravi Joshi wrote:
>
>   Hi. i am trying to install Grub using Ubuntu9.04 Live CD i tried to
> run grub-install command  but it gives me some error... following is my
> terminal...
>
>
> GRUB>
>
> and here when i run boot command it gives me ERROR 5. KERNEL MUST BE BOOTED
> BEFORE GRUB (i forgot what exactly the eroor was.)  and now i can't login
> even my windowsXp.
>
> so please help me..
>
> -Ravi Joshi
>
>
> Hi Ravi
>
> will you try following ... and post the result here ??
>
>
>
>   1. If you have Grub 2 set to boot without displaying the menu at all,
> hold the SHIFT key down until the menu displays. (In Grub it was the ESC
> key.)
>   2. Press any key once the menu is displayed to 'freeze' it. Then arrow to
> the kernel you want to boot.
>   3. Press "e"
>   4. Scroll to the end of the "linux /boot/vmlinuz" line. If displayed,
> remove "quiet" and/or "splash". Add the word "single" to the end of the
> line.
>   5. Press CTRL-X to boot to the Recovery menu.
>
>
>
>
>
> --
>
> Jatin Khatri
>
> Web www.khatrijatin.co.nr
>
> www.fedoraproject.org/wiki/Jatin
>
> Phone (+91) 98250 20393
>
> Save Paper, Save Environment.**
> *(Plant at least one tree in your life and nurture it !!!)*
>
>
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>


-- 
d...@k$
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] facing pb on ubuntu 10.4

2010-06-01 Thread deepak kumar
You can modify fstab with noauto,nouser options so the xp partitions are not
mounted automatically
during boot time and users cannot mount it.

On Wed, Jun 2, 2010 at 1:03 AM, 0oo_Neo_oo0 I m W0T I m <
ravi_d_shu...@hotmail.com> wrote:

>
>
> Dear all
>
>
> M using ubuntu 10.4 desktop edition on my laptop. Some functions key are
> not working on 10.4 like LCD brightness up n down its working fine on 9.04
> but not in 10.4 & 9.04 sound effect very very very low but in 10.4 its
> perfect.
>
>
> And any buddy can tell me how can i give users rights. like when users
> login users can not mount xp's partitions, And can i give them application
> right like when they logon they get minimum application like vlc n office
> thats all
>
> My leptop is lenovo 2049
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>


-- 
d...@k$
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in