LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-19-2011, 07:51 AM   #1
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Rep: Reputation: 0
appreciation


Many thanks for your excellent guidance (to an octogenarian)!

I will post a question re grub when I have calmed down from this pleasant experience.

Much obliged, ulfscha
 
Old 02-19-2011, 08:09 AM   #2
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
How can I delete the grub directory from my W 2000 vintage pc. It prevents me from booting either W2k or Linux 10.10

When I tried the various methods listed on the web via a live cd

sudo fdisk -l

sudo mount /dev/sdxx /mnt

I get invariably no such dir xx for any of the xxx I see a few lines above. with or without the *

I tried at least 20 times! I even tried to re-install grub or put on ubuntu LT on a parallel drive but no success.


Any guidance what could be wrong or more likely my mistake(s)?
 
Old 02-19-2011, 08:55 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi,

firstly, welcome to LQ.
Secondly,
Quote:
Linux 10.10
There is no Linux 10.10. I suppose you mean Ubuntu 10.10. Anyway, you need to provide more information on what you tried and what the output was. E.g., what is the output of
Code:
sudo fdisk -l
sudo mount /dev/sdxx /mnt
Also, what is the error message that you get when you try to boot? Do you see the grub menu before the error occurs?

Quote:
How can I delete the grub directory from my W 2000 vintage pc. It prevents me from booting either W2k or Linux 10.10
Deleting the grub directory will most probably not solve this problem; on the contrary, it will make it worse.
 
Old 02-19-2011, 11:31 AM   #4
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
Thanks Ubuntu 10/10 is correct

I do not get the grub menu

grub 1.5 error

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004b821

Device Boot Start End Blocks Id System
/dev/sda1 * 1 14593 117218241 7 HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ebbe0

Device Boot Start End Blocks Id System
/dev/sdb1 1 12256 98446288+ 83 Linux

Disk /dev/sdc: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a7574

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 492 3948512+ b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(490, 254, 63) logical=(491, 145, 38)
ubuntu@ubuntu:~$




ubuntu@ubuntu:/dev$ sudo mount /dev/sda1 mnt
fuse: failed to access mountpoint mnt: No such file or directory
ubuntu@ubuntu:/dev$
 
Old 02-19-2011, 12:13 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Code:
$ sudo mount /dev/sda1 mnt
This does not look right. From the output of 'fdisk -l' your ubuntu resides on /dev/sdb1.
So issue the following commands and post the output:
Code:
$ sudo mount /dev/sdb1 /mnt
ls -l /mnt/
ls -l /mnt/boot/
Notice the slash '/' in front of mnt.
 
Old 02-19-2011, 07:18 PM   #6
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
Sorry for my delay as I had no access and sda1 misleader I had tried a, b a1 b c in desperation for all ds but sent you the wrong sample!

With your very helpful advice I got a result that I had not gotten before :


ubuntu@ubuntu:~$ cd /
ubuntu@ubuntu:/$ sudo mount /dev/sdb1 /mnt
mount: /dev/sdb1 already mounted or /mnt busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt
ubuntu@ubuntu:/$ ls -1 /mnt
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/boot/
ls: cannot access /mnt/boot/: No such file or directory
ubuntu@ubuntu:/$

Many thanks for your patience

Last edited by ulfscha; 02-19-2011 at 07:20 PM. Reason: typos , I should not stay up this late! sorry
 
Old 02-20-2011, 12:54 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,219

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
Quote:
ubuntu@ubuntu:~$ cd /
ubuntu@ubuntu:/$ sudo mount /dev/sdb1 /mnt
mount: /dev/sdb1 already mounted or /mnt busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt
ubuntu@ubuntu:/$ ls -1 /mnt
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/boot/
ls: cannot access /mnt/boot/: No such file or directory
ubuntu@ubuntu:/$
ls -l (l is lower case L).

http://karuppuswamy.com/wordpress/20...rescue-prompt/
 
Old 02-20-2011, 08:12 AM   #8
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
Many thanks Eddy1!

After many days I thought I had learned the difference between l and 1 it looks alike l and 1 to my old eyes even on this editor

Many thanks for the disk link which I shall try asap today
Have a nice day!
 
Old 02-20-2011, 08:37 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,219

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
You're welcome
 
Old 02-20-2011, 08:47 AM   #10
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Quote:
Originally Posted by ulfscha View Post
Sorry for my delay as I had no access and sda1 misleader I had tried a, b a1 b c in desperation for all ds but sent you the wrong sample!

With your very helpful advice I got a result that I had not gotten before :


ubuntu@ubuntu:~$ cd /
ubuntu@ubuntu:/$ sudo mount /dev/sdb1 /mnt
mount: /dev/sdb1 already mounted or /mnt busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt
ubuntu@ubuntu:/$ ls -1 /mnt
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/
lost+found (in blue ulfscha)
ubuntu@ubuntu:/$ ls -1 /mnt/boot/
ls: cannot access /mnt/boot/: No such file or directory
ubuntu@ubuntu:/$

Many thanks for your patience
Well, it looks that you do not have Ubuntu installed. /dev/sdb1 is just a formatted partition but there is no OS installed. Did you remove it while trying to fix it?
 
1 members found this post helpful.
Old 02-20-2011, 03:43 PM   #11
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
111111111111111111
llllllllllllllllllllllllll


this is what the difference between l and 1 looks like on my pc screen ones are on top

I was able to print the contents of my grubenv file is : some 14 lines full of ######!!!!

I guess I should stick with shovelling snow!

Definitely plan to buy the rescue cd though.
 
Old 02-20-2011, 03:51 PM   #12
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
I noticed that the actual message shows a very clear difference between 'l' and number one '1'

while writing they look very similar
 
Old 02-20-2011, 04:09 PM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,219

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
It's just the different fonts people use, the difference is l is square on top, 1 is curved.

It's kind of funny, because as I type l it has appearance as 1, but when I submit to LQ it automatically changes to staright line others submit it appears as 1.

Last edited by EDDY1; 02-20-2011 at 04:13 PM.
 
1 members found this post helpful.
Old 02-21-2011, 08:59 AM   #14
ulfscha
LQ Newbie
 
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29

Original Poster
Rep: Reputation: 0
Via the disk utility on my live cd I can mount and see the Linux drive that is being blocked from starting by the grub troubles. I might have deleted the start-up file acc
to one kind advice CRTS )above as I cannot see a star anymore (except on a a back-up disk).

Opening it however is impossible as it sends that I am 'not authorized' (sudo? or my password).


Is there a way that I could make myself sudu or myself in the graphical interface presented by the disk utility 2.30.1 (from Red Had Inc 2007-2009 on my live disk)) ????
 
Old 02-21-2011, 10:50 AM   #15
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi,

on my ubuntu I can bring up the disk utility from terminal like this (with root privileges):
Code:
sudo palimpsest
Please try this and inspect the drives. You could also make some screenshots of all the drives once you are able to open them with a GUI application (Applications -> Accessories -> Take Screenshot). If there is indeed no more Linux installation then you should consider how you want to proceed. Do still want to use Linux in the future? Or do you want to revert back to windows? If the latter, then it is probably easier to fix windows with the windows installation CD. Afterwards you could reclaim the Linux partition for use with windows. If you want to keep Linux then maybe you should just reinstall Linux. If I am not mistaken then you can just click on the install icon when using the liveCD. The installer should be able to install grub properly. But be careful when choosing the disks you want to install in order to not delete windows by accident.
 
1 members found this post helpful.
  


Reply

Tags
grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
greetings and appreciation micah.prange LinuxQuestions.org Member Intro 1 08-03-2010 01:05 PM
Appreciation for Slackware 10 Disc 2 insyte Slackware 2 08-11-2004 03:18 PM
appreciation for microsoft mimithebrain General 43 06-25-2004 12:00 PM
Appreciation to All the admirable contributors Egyptian_Isis Linux - Newbie 1 11-01-2003 03:08 AM
appreciation tincat2 Linux - Security 1 07-29-2003 08:45 PM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration