LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-09-2015, 02:26 PM   #1
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Rep: Reputation: 1
How do I dual boot fedora 17 and fedora 21 using grub?


I am going to attempt to dual boot both fedora 17 and fedora 21, as my printer can print from FC17 but not from FC21 - posted about this issue in the hardware forum.

I am rather surprised at the level of competence of people posting here, even though it says newbie forum - so I think that this is possibly where I belong too.

I have set up grub to see my fedora 17 kernel - the only problem is, that the root filesystem needs to belong to the fedora 17 kernel as opposed to the fedora 21 kernel. I can't see myself changing fc 21's fstab to have the old lv root device mounted - as /etc belongs to the root partition of fc 21.

I did change the device to reflect the old kernel's root lv partition in the /etc/fstab (fc17), but this doesn't seem to do it.

Does someone know what I am missing?
 
Old 04-09-2015, 02:37 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I don't use Fedora nor have I ever used LVM but I think we would need more details. My understanding of LVM is that it requires/uses a separate boot partition. The best thing you could do is post more details on your system drives/partitions, boot files and general setup. The easiest way to do this is to go to the site below and download/run the bootinfoscript and post its output here, a results.txt file.

http://sourceforge.net/projects/bootinfoscript/

After reading your post again, I'm really not sure what your problem is. Have you actually installed both Fedora 17 and Fedora 21?
 
Old 04-09-2015, 04:17 PM   #3
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Original Poster
Rep: Reputation: 1
Hi Yancek,

I guess I'm not used to seeing that quick a response on the other forums....

It hadn't occured to me - but it is possible that my thread should be moved/closed to the fedora forum - since it may be a fedora specific question?? I'm not sure, I haven't used the other distributions of linux recently - did at one point use slackware entirely. I'm not sure that if a move/close is necessary, whether I can do that manually, or whether I would need an administrator to do that - I could see myself writing that I closed this thread and starting another thread in the fedora forum.

I may need to know the answer as to whether I should move this thread or not first, prior to spending time posting more here....

Last edited by 6th_sense; 04-09-2015 at 04:20 PM. Reason: grammar issue
 
Old 04-09-2015, 04:18 PM   #4
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Original Poster
Rep: Reputation: 1
Administrators: Is this something that I need approval from a board admin for?

Can I close this thread by writing "closed" and re-enter the issue in a more appropriate forum?

Do I need to e-mail/talk to administrators about that?

Last edited by 6th_sense; 04-09-2015 at 05:39 PM. Reason: changing post
 
Old 04-09-2015, 08:09 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Can I close this thread by writing "closed" and re-enter the issue in a more appropriate forum?
Click the Report button on the lower right of your post.
 
Old 04-09-2015, 10:52 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Very unlikely to be Fedora specific.
If you are dual booting, it won't matter what's on the other system - just make sure the vg(s) and lv(s) are named uniquely to each system.

Provide the data asked for, you'll get better answers.
 
Old 04-09-2015, 11:08 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
I am rather surprised at the level of competence of people posting here, even though it says newbie forum
We are very dedicated here at Linux Questions; 6th_sense:-

After you run the bootinfoscript it will leave a text "TXT" file in the directory where you downloaded the script.
Post the output of it here when you have the time.
 
Old 04-10-2015, 12:31 PM   #8
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Original Poster
Rep: Reputation: 1
Hi guys,

I downloaded and ran that script - it's output is really useful!

I've attached the file as RESULTS.txt - as it is quite long.

Let me know what you think.

I should also add some extra data (at least I find this useful):

Ran the following command under fedora 21:
$ df -h

Code:
Filesystem                          Size  Used Avail Use% Mounted on
devtmpfs                            3.8G     0  3.8G   0% /dev
tmpfs                               3.8G   84K  3.8G   1% /dev/shm
tmpfs                               3.8G  952K  3.8G   1% /run
tmpfs                               3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/mapper/vg_tyton-lv_root         20G  8.7G  9.9G  47% /
tmpfs                               3.8G  592K  3.8G   1% /tmp
/dev/sda1                           477M  173M  275M  39% /boot
/dev/mapper/vg_tyton-lv_home        404G  337G   46G  88% /home
tmpfs                               766M     0  766M   0% /run/user/991
tmpfs                               766M   20K  766M   1% /run/user/1001
/dev/mapper/vg_tyton-lv_root--fc17   20G   12G  7.5G  61% /fed17

The lv_root--fc17 is where the /boot for fedora 17 resides and the root file system for fedora 17.

Not sure, how I would arrange to have grub (the boot loader) allow me to run fedora 17 at boot time.

- 6th -
Attached Files
File Type: txt RESULTS.txt (17.1 KB, 8 views)

Last edited by 6th_sense; 04-10-2015 at 12:34 PM.
 
Old 04-10-2015, 01:39 PM   #9
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Original Poster
Rep: Reputation: 1
Hi guys,

Thought I'd mention - I found Fedora's documentation on grub and some documentation on BIOS vs. UEFI. I am starting to run through those and understand the process.

It hadn't occured to me that this was a much more complicated process nowadays - so my grub.cfg is a really big mess.

Hadn't intended for anyone to have to explain rocket science to me.

- 6th -

Last edited by 6th_sense; 04-10-2015 at 01:42 PM. Reason: last line
 
Old 04-10-2015, 05:05 PM   #10
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 64
Fedora 17 is WAY past it's end of life

with fedora 21 released few days ago...

in 30 DAYS fedora 19 will hit it's END OF LIFE

fedora 17 is unsupported !!!

have you asked in the
" END OF LIFE "section of Fedora forum ?

http://www.forums.fedoraforum.org/forumdisplay.php?f=75

right now fedora 1 through 18 are not supported ,then in 30 days fedora 19 ALSO will be unsupported

install a supported version of fedora !!!

Fedora 21
 
Old 04-10-2015, 11:14 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
What was the point of that rant ?. The OP is running F21 already, and has a stated reason to fall back to F17.

As for the question re dual booting, I can't see why that grub setup won't allow dual booting as it is. I'm guessing you're sharing /home lv - not such a good idea unless you use different users.
As for the printer issue, best leave that to the separate thread you have active.
 
Old 04-11-2015, 08:16 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
I'm not sure if you should modify the Grub configuration file or make a new menu entry.
Best to wait for yancek to read through this.

Code:
 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img, but core.img can not be found at this 
    location.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub2/grub.cfg

sda2: __________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

vg_tyton-lv_root': _____________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

vg_tyton-lv_home': _____________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''

vg_tyton-lv_swap': _____________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

vg_tyton-lv_root-fc17': ________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     1,026,047     1,024,000  83 Linux
/dev/sda2           1,026,048   976,773,119   975,747,072  8e Linux LVM


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/mapper/vg_tyton-lv_home e0d3a1b1-c722-4017-a06b-bf9e48554187   ext4       
/dev/mapper/vg_tyton-lv_root 76952072-ffb3-4bff-937e-7c4e76ef7345   ext4       _Fedora-21-x86_6
/dev/mapper/vg_tyton-lv_root--fc17 7cb2b944-820e-4840-9f14-39ab3b4ebaef   ext4       
/dev/mapper/vg_tyton-lv_swap e654081a-6209-490f-af8f-3447b33fe21c   swap       
/dev/sda1        6ccb50a7-afc1-4be1-819c-fe8c099b38e7   ext4       
/dev/sda2        WnPONj-I5eg-ZSlB-cnC1-OyLF-T1I2-eCJyvp LVM2_member 

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
vg_tyton-lv_home
vg_tyton-lv_root
vg_tyton-lv_root--fc17
vg_tyton-lv_swap

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/mapper/vg_tyton-lv_home /home                    ext4       (rw,relatime,seclabel,data=ordered)
/dev/mapper/vg_tyton-lv_root--fc17 /fed17                   ext4       (rw,relatime,seclabel,data=ordered)
/dev/mapper/vg_tyton-lv_root /                        ext4       (rw,relatime,seclabel,data=ordered)
/dev/sda1        /boot                    ext4       (rw,relatime,seclabel,data=ordered)


============================= sda1/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
set color_normal=light-green/blue
set color_highlight=magenta/white
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora, with Linux 3.19.1-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.19.1-201.fc21.x86_64-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	else
	  search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	fi
	linux16 /vmlinuz-3.19.1-201.fc21.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet 
	initrd16 /initramfs-3.19.1-201.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 3.18.8-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.8-201.fc21.x86_64-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	else
	  search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	fi
	linux16 /vmlinuz-3.18.8-201.fc21.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet 
	initrd16 /initramfs-3.18.8-201.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 0-rescue-158f3a780cf14446af286add261223b1' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-158f3a780cf14446af286add261223b1-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	else
	  search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	fi
	linux16 /vmlinuz-0-rescue-158f3a780cf14446af286add261223b1 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet 
	initrd16 /initramfs-0-rescue-158f3a780cf14446af286add261223b1.img
}
menuentry 'Fedora, with Linux 0-rescue-3f540a03e9884b57814861d28b2ee307' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-3f540a03e9884b57814861d28b2ee307-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	else
	  search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
	fi
	linux16 /vmlinuz-0-rescue-3f540a03e9884b57814861d28b2ee307 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet 
	initrd16 /initramfs-0-rescue-3f540a03e9884b57814861d28b2ee307.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Fedora release 17 (Beefy Miracle) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
	insmod part_msdos
	insmod lvm
	insmod ext2
	set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'  7cb2b944-820e-4840-9f14-39ab3b4ebaef
	else
	  search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
	fi
	linux16 /boot/vmlinuz-3.6.3-1.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
	initrd16 /boot/initramfs-3.6.3-1.fc17.x86_64.img
}
submenu 'Advanced options for Fedora release 17 (Beefy Miracle) (on /dev/mapper/vg_tyton-lv_root--fc17)' $menuentry_id_option 'osprober-gnulinux-advanced-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
	menuentry 'Fedora (3.6.3-1.fc17.x86_64) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.3-1.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
		insmod part_msdos
		insmod lvm
		insmod ext2
		set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'  7cb2b944-820e-4840-9f14-39ab3b4ebaef
		else
		  search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
		fi
		linux16 /boot/vmlinuz-3.6.3-1.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
		initrd16 /boot/initramfs-3.6.3-1.fc17.x86_64.img
	}
	menuentry 'Fedora Linux (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
		insmod part_msdos
		insmod lvm
		insmod ext2
		set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'  7cb2b944-820e-4840-9f14-39ab3b4ebaef
		else
		  search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
		fi
		linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
		initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
	}
	menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
		insmod part_msdos
		insmod lvm
		insmod ext2
		set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'  7cb2b944-820e-4840-9f14-39ab3b4ebaef
		else
		  search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
		fi
		linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
		initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
	}
	menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (recovery mode) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64-root=/dev/mapper/vg_tyton-lv_root ro single rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
		insmod part_msdos
		insmod lvm
		insmod ext2
		set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'  7cb2b944-820e-4840-9f14-39ab3b4ebaef
		else
		  search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
		fi
		linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro single rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
		initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on vg_tyton-lv_root'


Unknown BootLoader on vg_tyton-lv_home'


Unknown BootLoader on vg_tyton-lv_swap'


Unknown BootLoader on vg_tyton-lv_root-fc17'



=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-KDK84QF3/Tmp_Log: No such file or directory
  Failed to find logical volume "vg_tyton/lv_root'"
  Failed to find logical volume "vg_tyton/lv_root'"
  Failed to find logical volume "vg_tyton/lv_root'"
hexdump: /dev/mapper/vg_tyton-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_root': No such file or directory
hexdump: all input file arguments failed
  Failed to find logical volume "vg_tyton/lv_home'"
  Failed to find logical volume "vg_tyton/lv_home'"
  Failed to find logical volume "vg_tyton/lv_home'"
hexdump: /dev/mapper/vg_tyton-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_home': No such file or directory
hexdump: all input file arguments failed
  Failed to find logical volume "vg_tyton/lv_swap'"
  Failed to find logical volume "vg_tyton/lv_swap'"
  Failed to find logical volume "vg_tyton/lv_swap'"
hexdump: /dev/mapper/vg_tyton-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_swap': No such file or directory
hexdump: all input file arguments failed
  skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
  Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
  Cannot process volume group vg_tyton-lv_root-fc17'
  skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
  Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
  Cannot process volume group vg_tyton-lv_root-fc17'
  skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
  Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
  Cannot process volume group vg_tyton-lv_root-fc17'
hexdump: /dev/mapper/vg_tyton-lv_root-fc17': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_root-fc17': No such file or directory
hexdump: all input file arguments failed
mdadm: No arrays found in config file or automatically
 
Old 04-20-2015, 10:04 AM   #13
6th_sense
Member
 
Registered: Jun 2006
Posts: 47

Original Poster
Rep: Reputation: 1
Hi guys,

I appreciate all the replies a lot...

I looked at how grub works and found some means to clean my grub.cfg up a little bit.

I might go ahead and do exactly that - though this is icing on the cake.... I actually managed to fix my printer - and am off to share the good news.

- 6th -
 
Old 04-20-2015, 03:11 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by 6th_sense View Post
Hi guys,

I appreciate all the replies a lot...

I looked at how grub works and found some means to clean my grub.cfg up a little bit.

I might go ahead and do exactly that - though this is icing on the cake.... I actually managed to fix my printer - and am off to share the good news.

- 6th -
So; Fedora 21 recognizes your printer?

Do you now have FC 17 and FC 21 in your GNU Grub Menu?
 
  


Reply


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
Fedora/Kali Dual boot, Boot(grub) failed after Updating Fedora... saeedit Linux - General 10 05-10-2014 10:36 AM
XP - Fedora - Grub dual boot issue ssssshhhhh Linux - Newbie 8 06-16-2010 11:20 AM
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 03:09 PM
Dual-boot XP and Fedora using GRUB? Peter6000 Linux - Newbie 11 12-28-2006 08:32 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM


All times are GMT -5. The time now is 06:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration