LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2010, 10:30 AM   #1
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Rep: Reputation: 15
No Mount point


I have a single hard drive computer with 12 partitions. One of the distros I put on /dev/hda6 somehow got in there without a mount point!!! And that is what I want to do, add the mount point. This is a Linux only machine, by the way. I could re-install, but I need to remember/know this!!!

Could someone please point me to the info I need.....

Thanks,
 
Old 03-22-2010, 11:04 AM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Do you want to make /dev/hda6 to get mounted every time you boot? All known file systems are in /etc/fstab. Maybe you want to add a line for your partition?
 
1 members found this post helpful.
Old 03-22-2010, 11:20 AM   #3
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Hi and thanks for the reply.

/dev/sda6 has no mount point and does not show up on the boot menu. So there is no chance of booting that distro. Could I use mount -t /dev/sda6 in order to see partition 6 on the boot menu and boot it?

I have 4 different distros on the HD and would like to be able to boot to all individually and at will.

Short answer to you questions:

Yes and yes....Could I add the info for Partition 6 into the /etc/fstab on partition 5?
 
Old 03-22-2010, 11:37 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
A "mount point" is, of course, the directory in your / at which the device is mounted. (E.g., you propose mount command should be something like sudo mount /dev/sda6 /mnt) Note that the "-t" option is omitted since Linux types are usually recognized by mount.

Is it possible that the distribution you installed on a6 is one like Fedora that defaults to using a "Logical Volume," and you're trying to access a LV as though it's a simple partition?

If you're seeing the "no mount point" comment from your boot menu, your boot program is telling you that you haven't told it where to find the "root" file system. Look for a root= (or similar) line in your boot stanza and verify that it's correct.
 
1 members found this post helpful.
Old 03-22-2010, 12:37 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
It is not necessary to mount a partition to be able to boot an OS. How are the other distributions setup to boot? Did you also install the bootloader to sda6 when the OS was installed?
 
1 members found this post helpful.
Old 03-22-2010, 07:06 PM   #6
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
That particular partition is a logical partition. The following is from the boot section of /dev/sda5, which grub counts differently....

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,5)/boot/gfxmenu
default 0

title linux
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=8bf73019-1548-46b8-9aa9-267f5d1df8a9 acpi=on splash=silent vga=788
initrd (hd0,5)/boot/initrd.img

title linux-nonfb
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=8bf73019-1548-46b8-9aa9-267f5d1df8a9 acpi=on
initrd (hd0,5)/boot/initrd.img

title failsafe
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=8bf73019-1548-46b8-9aa9-267f5d1df8a9 failsafe acpi=on
initrd (hd0,5)/boot/initrd.img


maybe this helps. I don't really understand the large number after the root=UUID=

I think that failing to correctly set the partition up is the problem and I thought I could fix it from another angle....oh well...........
 
Old 03-22-2010, 08:55 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The "large number" is the UUID of the root. You can verify it by booting a working distribution and doing a ls -l /dev/disk/by-uuid/.

Alternatively, replace the root=UUID=... by root=/dev/sda6. The point in the UUID= is that will, theoretically, find the correct partition even it the partitions are reordered.

I'm puzzled by the BOOT_IMAGE=... part of your boot stanzas, above, since they all start the same initial RAM file system files. Perhaps the distribution you're booting has an interpreter in it's initramfs file that does different things depending on the BOOT_IMAGE value. If so, that seem "cool."
 
1 members found this post helpful.
Old 03-22-2010, 09:23 PM   #8
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
The way this boot menu seems to look is, each distro has the main boot and a recovery and a failsafe mode, if we could call it that....

This little boot menu is courtesy of LinuxMint. So I guess it could be something weird, they are using grub and I'll do some studying and see if I can modify the grub file or hose the whole works...
Not a good thing to do, but it's only a test machine anyway, Linux only...I think it should be easy to include the PCLinuxOS partition, but maybe not so easy....

Thanks...
 
Old 03-23-2010, 11:55 AM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Perhaps I wasn't clear enough. My point was that the BOOT_IMAGE= option is (to the best of my knowledge) a distribution specific thing, and it would be ignored by the initial RAM file system and kernel processing of any distribution that was "unaware" of it. Thus those boot stanzas may, for "unaware" distributions, be identical. I note also that different distributions name their initial RAM file system image files and ROM kernel boot files differently, so it would be unusual for a distribution to use /boot/vmlinz and /boot/initrd.img for the names of the boot kernel and initial RAM file system image files.

For example, on Fedora those stanzas might look like this:
Code:
title           --- Fedora 12 x86_64
root

title Fedora (2.6.32.9-70.fc12.x86_64)
        root (hd0,5)
        kernel /boot/vmlinuz-2.6.32.9-70.fc12.x86_64 root=LABEL=Fedora12 quiet LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
        initrd /boot/initramfs-2.6.32.9-70.fc12.x86_64.img

title Fedora (2.6.32.9-70.fc12.x86_64) (Recovery Mode)
        root (hd0,5)
        kernel /boot/vmlinuz-2.6.32.9-70.fc12.x86_64 ro root=LABEL=Fedora12 3 quiet LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
        initrd /boot/initramfs-2.6.32.9-70.fc12.x86_64.img

title Fedora (2.6.32.9-67.fc12.x86_64)
        root (hd0,5)
        kernel /boot/vmlinuz-2.6.32.9-67.fc12.x86_64 root=LABEL=Fedora12 quiet LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
        initrd /boot/initramfs-2.6.32.9-67.fc12.x86_64.img

title Fedora (2.6.32.8-58.fc12.x86_64)
        root (hd0,5)
        kernel /boot/vmlinuz-2.6.32.8-58.fc12.x86_64 root=LABEL=Fedora12 quiet LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
        initrd /boot/initramfs-2.6.32.8-58.fc12.x86_64.img
(I picked that as an example since my Fedora 12 is on /dev/sda6 on this laptop.)

Note that, for Fedora, the "recovery mode" is simply to boot to init level 3 (console login mode) which is indicated by the "3" in the kernel options list.
 
1 members found this post helpful.
Old 03-23-2010, 07:50 PM   #10
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the info. That looks a lot like what is in the grub boot menu. I took a look at it today and messed with it a bit. I actually re-installed the partition in question twice and same thing. Didn't show up in the boot menu. I kinda thought it would, but that would be too easy..and not what I started out to do.

Now I think if I re-installed the distro that owns the boot menu, LinuxMint in this case, that it would pick up the partition in question. I may try that tomorrow.

If I really knew what I was doing I could just make an entry in the boot menu and add it. I think.
I have a lot of info on grub and I need to study it a lot more.
There are parts of it I have forgotten and some I still don't understand.....so I'll try to squeeze that in before too long and report back with the results. Should be interesting.

Thanks again to all.
 
Old 03-23-2010, 09:48 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Which of the four distributions you have is installed on sda6?
Which of your four distributions do you boot from?
You have Linux Mint, which release Mint 8? It uses Grub 2. If Ubuntu is 9.10, it also uses Grub 2. Fedora, I think, still uses Grub Legacy and Slackware uses Lilo.

If you installed the last distro on sda6 and installed its Grub to the master boot record, it should have detected the others unless it was Fedora you last installed.

The question of the mount point is irrelevant to booting as indicated above. What you need is a correct entry in whichever Grub configuration file you are using to boot. Answers to the above questions would provide useful information for someone to help.

Last edited by yancek; 03-23-2010 at 09:50 PM.
 
1 members found this post helpful.
Old 03-23-2010, 09:50 PM   #12
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If you're using a "standard" GRUB (and it surly looks like you are), then you should be able to press the "e" key when GRUB displays its log-on screen. That opens GRUB's built-in, RAM-only, editor. (By RAM-only, I mean that any changes you make to a boot stanza will be lost when you boot from the changed stanza, or when you press <Esc> to abandon an edit.)

Anyhow, a brief edit "how-to" should be displayed at the bottom of the screen.

The "built-in" editor is a handy way to try various different GRUB settings trying to find one that works. (I usually write down what I'm trying so I can edit something that works into the grub.conf file after I finally get it to work.

Oh, one thing: If you're using the "tab-completion" feature to verify path names, remember that the root command has not been executed when you're editing a specific line. E.g., if you wanted to see that list of all files in /boot on /dev/sda6 that start with the string "init", you would have to enter initrd (hd0,5)/boot/init<tab> even if your actual stanza contained a root (hd0,5) line.

Last edited by PTrenholme; 03-23-2010 at 09:52 PM. Reason: Typo
 
1 members found this post helpful.
Old 03-23-2010, 10:30 PM   #13
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks. I was doing that a while ago and kinda gave up for today. I can see that I need to know a lot more about PCLinuxOS. There's 8 or 10 lines in each of those boot entries and I think I need to know the kernel version and can't recall the other one now.

I tried to set up a menu.lst file in the /boot/grub folder, but there were some permissions issues there.....and I was getting tired.....so I just cashed in for the night...

I think I might take the easy way out and reinstall LinuxMint just to see what happens. Mainly to see if it picks up PCLinuxOS. Maybe tomorrow.....

Thanks again for your time.
 
Old 03-24-2010, 03:41 PM   #14
IraB
LQ Newbie
 
Registered: Jul 2004
Location: Swamp east Missouri
Distribution: FC12/ubuntu/linux mint/Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Sorry Yancek, I didn't mean to overlook you....

sda6 has pclinuxos. I am using Mint 8 and using it's boot loader. And yes you are right. I decided to install another distro today just to see what would happen. I chose PC/OS. It went on ok and sure enough, it picked up all the rest of the distros on the partitions. And with a different looking boot loader. No splash screen, but that's ok.

I have downloaded the grub manual and am going to do this right. I know with the extra distro, and with it's boot manager, I have access to sda6, but that's not the point. I think it can be done by some command line or modifying grub....would be educational for me..

Thank you all very much for the input...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
How to mount a Windows shared directory and have mount point be owned by nonroot user Arodef Linux - Software 3 09-14-2009 12:23 AM
puppy+grub saves ram installed mount point as HD install mount point agualust Linux - Newbie 0 04-10-2009 11:23 AM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration