Re: Help Mount Unmount and auto detect new partition and restore of Grub



On Sun, 2006-08-13 at 22:53 +0100, José Paulo Matafome Oleiro wrote:
Hi there people, I've got few problems for you to help if you want and
can help me. I've deleted my windows partition and installed Debian to
take a look but Debian doesn't had the version of kernel that I need
so I'm gonna stay with Ubuntu as the only operating system installed
at my laptop, but now if I delete de partition of Debian, my computer
just gives me error because I had installed grub from the Debian
installation in the MBR (Master Boot Record) and now if I delete the
Debian partition, Grub gave me errors I think it's error 21, so how I
can reinstall Grub in the MBR with the menu.lst from de Ubuntu system,
and after this I will create a partition with the free space from the
Debian installation with the filesystem ReiserFS and then I want this
partition to be detected my Ubuntu, but now that I had installed
Debian, it only shows to me in System > Administration > Hard-Disks,
the NTFS partition of my old system Windows that now doesn't exist and
the partition of Ubuntu and Swap Partition, can you help me with this
little problems?
Thanks for your help in advance.

--
Sincerely
José Oleiro aka Matafome (#computers at irc.ptnet.org Blog do
Matafome )
Running Ubuntu 6.06 Dapper with XGL on Fujitsu-Siemens Model Amilo M
1420


Hi,
My best advice for you would be to use a live CD, for which Knoppix is
great and then boot into that and run a root shell. Mount the partition
that has your ubuntu installation read and write (just right-click on
the icon) and also make sure it is mounted first. In the terminal bring
up grub using:

# grub
and then tell grub the root to your ubuntu installation if
it's /dev/hda1 then you must use (hd0,0) since grub starts counting from
0 and not one, hence for /dev/hda1 do:

# root=(hd0,0)

Then you need to install it to the MBR to replace the existing data
using:

# setup=(hd0)

then

# quit

That should do it. Otherwise if you have an alternate ubuntu install CD
or the DVD you can boot with that entering rescue mode. Or even a Slax
CD with the GRUB module loaded. Many options. That's just one of them
above.


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Installation problem, partitionar stuck at 52% .....(Using IDE HDD)
    ... RAM: 64 MB SDRAM ... I finally got ubuntu 5.10 installed on my system. ... When it asks me to start partition manager i just skip this ... skipping the partition step and starting the base system installation. ...
    (Ubuntu)
  • Re: Ubuntu Linux ???
    ... How does the Ubuntu installer handle a multi-boot ... It appears that there is no auto-partitioner on the installation disc. ... resize your Windows partition, thus creating space for your Linux ... backup your important data on your Windows partition FIRST. ...
    (alt.os.linux)
  • Dual boot WinXP and Ubuntu 6.10 in desktop and laptop using NTLDR
    ... First disk: ... 1st partition K: hidden partition in format FAT32, 3.6G, where recovery ... I have windows in C and Ubuntu installed in 2nd disk. ... Have I done something wrong during installation? ...
    (Ubuntu)
  • Ubuntu Hardy Heron server install: grub not updated
    ... has Fedore Core 5 and Windows XP each in its own partition. ... Ubuntu installed fine after resizing the Fedora partition, ... end of the Ubuntu installation, and the installer was able to see ...
    (Ubuntu)
  • Best way to shrink Windows on new laptop?
    ... I'm getting a new Thinkpad Z61M and shall be installing Debian ... I'd therefore like to keep Windows, at least for the moment, so I'll ... need to shrink its partition. ... If I understand the Debian Installation manual correctly, ...
    (Debian-User)