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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-19-2011, 06:51 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Rep:
|
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
|
|
|
|
02-19-2011, 07:09 AM
|
#2
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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)?
|
|
|
|
02-19-2011, 07:55 AM
|
#3
|
|
Senior Member
Registered: Jan 2010
Posts: 1,604
|
Hi,
firstly, welcome to LQ.
Secondly,
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.
|
|
|
|
02-19-2011, 10:31 AM
|
#4
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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$
|
|
|
|
02-19-2011, 11:13 AM
|
#5
|
|
Senior Member
Registered: Jan 2010
Posts: 1,604
|
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.
|
|
|
|
02-19-2011, 06:18 PM
|
#6
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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 06:20 PM.
Reason: typos , I should not stay up this late! sorry
|
|
|
|
02-19-2011, 11:54 PM
|
#7
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,162
|
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/
|
|
|
|
02-20-2011, 07:12 AM
|
#8
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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!
|
|
|
|
02-20-2011, 07:37 AM
|
#9
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,162
|
You're welcome
|
|
|
|
02-20-2011, 07:47 AM
|
#10
|
|
Senior Member
Registered: Jan 2010
Posts: 1,604
|
Quote:
Originally Posted by ulfscha
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.
|
02-20-2011, 02:43 PM
|
#11
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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.
|
|
|
|
02-20-2011, 02:51 PM
|
#12
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
I noticed that the actual message shows a very clear difference between 'l' and number one '1'
while writing they look very similar
|
|
|
|
02-20-2011, 03:09 PM
|
#13
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,162
|
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 03:13 PM.
|
|
|
1 members found this post helpful.
|
02-21-2011, 07:59 AM
|
#14
|
|
LQ Newbie
Registered: Feb 2011
Location: dc area
Distribution: ubuntu 11/10
Posts: 29
Original Poster
Rep:
|
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)) ????
|
|
|
|
02-21-2011, 09:50 AM
|
#15
|
|
Senior Member
Registered: Jan 2010
Posts: 1,604
|
Hi,
on my ubuntu I can bring up the disk utility from terminal like this (with root privileges):
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:11 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|