
You are not logged in.
still, when grub loads, it shows funtoo, windows xp. But, I am unable to boot windows on second HDD, sdb
KRISHNA ~ # ls -la /boot
total 12
drwxr-xr-x 3 root root 4096 Jul 8 04:01 .
drwxr-xr-x 21 root root 4096 Jul 5 03:45 ..
drwxr-xr-x 3 root root 4096 Jul 8 04:09 grub# /etc/fstab: static file system information.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/p$
/dev/sda1 /boot ext2 noauto,noatime $
/dev/sda3 none swap sw $
/dev/sda4 / ext4 noatime $
#/dev/cdrom /mnt/cdrom auto noauto,ro $
none /dev/shm tmpfs nodev,nosuid,noexec $
#windows
/dev/sdb1 /boot ntfs-3g GNU nano 2.3.1 File: /etc/boot.conf
boot {
generate grub
default "Funtoo Linux genkernel"
timeout 999
}
"Funtoo Linux" {
kernel bzImage[-v]
# params += nomodeset
}
"Funtoo Linux genkernel" {
kernel kernel[-v]
initrd initramfs[-v]
params += real_root=auto
# params += nomodeset
}
"Windows XP" {
type winxpWhat might be the issue? Have followed instructions on wiki while installing (/mnt/funtoo/boot)
When in chroot, this is displayed, but when i boot my system, this is not shown. I am confused.
Before I do something in desperation, some inputs please
Last edited by san2ban (2012-10-01 16:10:54)
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Perhaps you missed a closing bracket:
"Windows XP" {
type winxp
}
I ♥ Gentoo & Funtoo
Offline
fstab
#windows
/dev/sdb1 /boot ntfs-3g
should be something like
/dev/sdb1 /mnt/windows ntfs-3gif you want to access window files from linux.
boot.conf
"Windows XP" {
type winxp
}
should be
"Windows XP" {
type winxp
params root=/dev/sdb1
}after editing run boot-update again.
/boot/grub/grub.cfg is not missing because your system boots.
/dev/sda1 is not mounted to /boot because of noauto fstab setting. you can remove noauto or mount /dev/sda1 manually to access /boot files.
Last edited by whiteghost (2012-07-09 15:56:12)
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
About the windows XP part, what I have copied and pasted is incomplete, to the extent that you have suggested.
# /etc/fstab: static file system information.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
#windows
/dev/sdb1 /mnt/windows ntfs-3g 0 0
boot {
generate grub
default "Funtoo Linux genkernel"
timeout 999
}
"Funtoo Linux" {
kernel bzImage[-v]
# params += nomodeset
}
"Funtoo Linux genkernel" {
kernel kernel[-v]
initrd initramfs[-v]
params += real_root=auto
# params += nomodeset
}
"Windows XP" {
type winxp
params root=/dev/sdb1
}KRISHNA ~ # boot-update
boot-update 1.5.2 / Copyright 2009-2011 Funtoo Technologies
[use option "-l" for license info, "-h" for help]
* Generating config for grub...
DEFAULT > Windows XP
* WARN : No boot/default match found - using first boot entry by default.
* Completed successfully with warnings.KRISHNA ~ # ls -la /boot
total 3660033
drwxrwxrwx 1 root root 8192 Jul 8 17:33 .
drwxr-xr-x 21 root root 4096 Jul 5 03:45 ..
-rwxrwxrwx 1 root root 0 Jul 1 2010 AUTOEXEC.BAT
-rwxrwxrwx 1 root root 0 Jul 1 2010 CONFIG.SYS
-rwxrwxrwx 1 root root 17505 Dec 29 2004 DBI.EXE
drwxrwxrwx 1 root root 4096 Mar 12 15:13 Documents and Settings
-rwxrwxrwx 1 root root 0 Jul 1 2010 IO.SYS
drwxrwxrwx 1 root root 0 Jun 7 2011 Intel
-rwxrwxrwx 1 root root 0 Jul 1 2010 MSDOS.SYS
drwxrwxrwx 1 root root 0 Feb 23 22:13 MSOCache
-rwxrwxrwx 1 root root 47564 Apr 13 2008 NTDETECT.COM
drwxrwxrwx 1 root root 16384 Jun 22 20:34 Program Files
drwxrwxrwx 1 root root 4096 Sep 7 2011 RECYCLER
drwxrwxrwx 1 root root 4096 Sep 7 2011 System Volume Information
drwxrwxrwx 1 root root 167936 Sep 6 2011 WINDOWS
drwxrwxrwx 1 root root 90112 Jun 29 07:05 WINDOWS.0
-rwxrwxrwx 1 root root 374 Sep 7 2011 boot.ini
drwxrwxrwx 1 root root 0 Sep 7 2011 extensions
drwxrwxrwx 1 root root 36864 Jul 10 03:22 grub
-rwxrwxrwx 1 root root 1601556480 Jun 29 07:03 hiberfil.sys
drwxrwxrwx 1 root root 4096 Aug 1 2010 iscii_plugin_data
-rwxrwxrwx 1 root root 250048 Apr 13 2008 ntldr
-rwxrwxrwx 1 root root 262144 Nov 29 2010 ntuser.dat
-rwxrwxrwx 2 root root 1024 Nov 29 2010 ntuser.dat.LOG
-rwxrwxrwx 1 root root 2145386496 Jun 29 07:03 pagefile.sysWith effort of 12 days, I have XFCE4 desktop on FUNTOO. But, the boot-update, boot.conf, grub.cfg is getting on my nerves. Inconsistent behaviour in CHROOT environment, and actual.
Tempted to go back to arch. Will try once more.
You can see below, funtoo kernel not shown
set timeout=999
menuentry "Windows XP" {
insmod part_msdos
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 96d40c06d40be6f9
chainloader +1
}
set default=0Either Funtoo, or windows, never both. Else, no grub.cfg.
With due respect, regards to Daniel, I feel boot-update should be trashed, and keep with grub mkg.conf
Last edited by san2ban (2012-07-09 16:42:57)
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
what kernel did you build?
if /dev/sdb1 is no longer mounted to /boot why are all those windows files in /boot? how big is your boot partition...wow?
the process of installing gentoo/funtoo teaches you some things, be willing to learn.
many people use funtoo happily so no use blaming funtoo. only 12 days? took me longer to first install gentoo.
you just have to get a kernel in /boot and you will be on your way.
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
I use Funtoo linux genkernel, as recommended in Funtoo installation guide on wiki. Literally followed wiki to the dot. Pl. look at the below, and suggest how to dual boot. I am out of my wits. I can only oot funtoo, not windows. If I actually emerge-boot-update on my HDD 9actual environ, not CHROOT), /etc/boot.conf will get screwed. grub.cfg will vanish
KRISHNA san2ban # ls -la /boot
total 12
drwxr-xr-x 3 root root 4096 Jul 8 04:01 .
drwxr-xr-x 21 root root 4096 Jul 5 03:45 ..
drwxr-xr-x 3 root root 4096 Jul 8 04:09 grubObserve, there is no mention of windows, genkernel. But in CHROOT environ, windows, kernel image are shown
/etc/fstab: static file system information.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/p$
/dev/sda1 /boot ext2 noauto,noatime $
/dev/sda3 none swap sw $
/dev/sda4 / ext4 noatime $
#/dev/cdrom /mnt/cdrom auto noauto,ro $
none /dev/shm tmpfs nodev,nosuid,noexec $
#windows
/dev/sdb1 /mnt/windows ntfs-3g $Whiteghost, you had asked to remove noauto from fstab, and real_root =auto from /etc/boot.conf, but according to man boot.conf, this is required for genkernel, which I use.
boot {
generate grub
default "Funtoo Linux genkernel"
timeout 999
}
"Funtoo Linux" {
kernel bzImage[-v]
# params += nomodeset
}
"Funtoo Linux genkernel" {
kernel kernel[-v]
initrd initramfs[-v]
params += real_root=auto
# params += nomodeset
}
"Windows XP" {
type winxp
params root=/dev/sdb1
}See the bloody peculiarity, after having followed the wii to the dot, and now phyisically inside my system, when i check /boot/grub/grub.cfg, it shows blank, says newfile.
But after exiting CHROOT from sysrescue CD, (again, funtoo wiki recommendation),
while GRUB 1.98 loaded, it showed both the options, Funtoo, winxp.
I feel that, in the wiki, the part where we install the boot-loader, there is some discrepancy. This is because, only wrt boot portion, my system is not behaving as it should, according to wiki.
Any input will be appreciated
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Also, mine is GPT partition
KRISHNA ~ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 312315562 sectors, 148.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): AF10872D-5C7C-44B3-8C0F-7929B3C1E9EE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 312315528
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 8300 Linux filesystem
2 1026048 1091583 32.0 MiB EF02 BIOS boot partition
3 1091584 9480191 4.0 GiB 8200 Linux swap
4 9480192 312315528 144.4 GiB 8300 Linux filesystemWhen you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
As far as winxp not booting, its a common problem with your setup. Windows likes to be the first harddrive and has issues booting when it isnt. Take a look at the grub manual: http://www.gnu.org/software/grub/manual … 02fWindows
As far as your other issues, it's quite obvious that /dev/sda1 and /dev/sdb1 were mixed up at some point. Explains why you have a grub dir in your windows partition. Plus files don't just vanish and the reappear on a partition just because you chrooted. There's also a small posibility that your disks are seen in a different order when you boot the livecd which could be why it looks messed up.
Offline
rh1, it appears you posted, while I was editing. Do you mean to sat, windows also is screwed/
No way to save both funtoo, windows?
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Entire installation done on /dev/sda1, which is a GPY disk. Using SysrescueCD, i used to select 'boot from disk A, cant it understand that /dev/sda is disk A
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Pl. see windows HDD
KRISHNA san2ban # fdisk -l /dev/sdb
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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
Disk identifier: 0x00000001
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 61512884 30756411 7 HPFS/NTFS/exFAT
/dev/sdb2 61512885 312576704 125531910 f W95 Ext'd (LBA)
/dev/sdb5 61512948 312576704 125531878+ 7 HPFS/NTFS/exFATWhen you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
rh1, you scared the shit out of me.
in the BIOS, I changed it to boot from second HDD, win XP booted.
Again, as I say, no grub.cfg file exists, ls -la /boot shows as posted, yet when I boot from sda1, rub load, displays both funtoo, linux.
Funtoo loads, where as windows does not. When windows is selected, a cursor blinks at left top corner o screen
Think I am on my way back to Arch Linux. OS-prober just detects windows on sdb, puts it in grub.cfg, also boots it without issue.
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
pl. see my ls -la /boot in CHROOT
(chroot) sysresccd / # ls -la /boot
total 12045
drwxr-xr-x 4 root root 1024 Jul 7 16:27 .
drwxr-xr-x 21 root root 4096 Jul 5 03:45 ..
-rw-r--r-- 1 root root 0 Jul 7 14:59 .keep_sys-apps_baselayout-0
-rw-r--r-- 1 root root 2796377 Jul 7 15:40 System.map-sysrescue-std-x86_64-3.0.21-sysrescue-std302
drwxr-xr-x 3 root root 4096 Jul 10 18:17 grub
-rw-r--r-- 1 root root 5640313 Jul 7 16:21 initramfs-sysrescue-std-x86_64-3.0.21-sysrescue-std302
-rw-r--r-- 1 root root 3821632 Jul 7 15:40 kernel-sysrescue-std-x86_64-3.0.21-sysrescue-std302
drwx------ 2 root root 12288 Jul 4 02:42 lost+foundEntirely different from the one on my hdd(posted earlier).
Below is my grub.cfg from CHROOT
et timeout=999
menuentry "Funtoo Linux genkernel - kernel-sysrescue-std-x86_64-3.0.21-sysrescu$
insmod part_gpt
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 7114255e-0a65-4590-bbbf-31464fcbf893
linux /kernel-sysrescue-std-x86_64-3.0.21-sysrescue-std302 real_root=/dev/sda4
initrd /initramfs-sysrescue-std-x86_64-3.0.21-sysrescue-std302
set gfxpayload=keep
}
menuentry "Windows XP" {
insmod part_msdos
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 96d40c06d40be6f9
chainloader +1
}In actual hdd, no grub.cfg
rh1, your comment on window files inside boot:. For dual boot, is it not needed?
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
real_root =auto from /etc/boot.conf, but according to man boot.conf, this is required for genkernel, which I use.
no i said to add param for /dev/sdb1 to your windows section of boot.conf
ok.. you can boot into your funtoo, right? no need to chroot
boot into funtoo
#mount ( is /dev/sda1 mounted to boot? if so)
#umount /boot
#ls /boot (should be empty, if not save what you want somewhere else then)
#rm -rf /boot/*
#mount /dev/sda1 /boot
#ls /boot (should show grub folder, lost+found, and kernels-initramfs)
if not, reinstall grub and kernel as required.
#ls /boot (kernel and grub folder is there, good)
#boot-update (success)
#rebootLast edited by whiteghost (2012-07-10 09:03:21)
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
White-ghost, just as you said, /boot was not empty. only grub folder was there. Removed it as per your advice, followed just as you have written. Now, pl. lok ar my ls -la /boot
KRISHNA san2ban # ls -la /boot
total 8
drwxr-xr-x 2 root root 4096 Jul 10 20:56 .
drwxr-xr-x 21 root root 4096 Jul 10 18:51 ..No grub, kernel. Also, after the changesas you suggested, windows also did not boot.
You had suggested another OP exx33 that windows entry should not be in /etc/fstab. Is it so?
I have also tried removing windows entry from /etc/fstab. Still XP does not boot from my second HDD
Pl. suggest further. Should I now emergr boot-update and install grub again? (I have rebooted now, after doing what you suggested. It showed the kernel and otherthings as you wrote, after I rebooted, it is simply missing
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Something fishy
san2ban@KRISHNA ~ $ su
Password:
KRISHNA san2ban # ls -la /boot
total 8
drwxr-xr-x 2 root root 4096 Jul 10 20:56 .
drwxr-xr-x 21 root root 4096 Jul 10 18:51 ..
KRISHNA san2ban # ls /boot
KRISHNA san2ban # mount /dev/sda1 /boot
KRISHNA san2ban # ls
- Desktop Documents Downloads Music Pictures Public Templates Videos
KRISHNA san2ban # ls /boot
System.map-sysrescue-std-x86_64-3.0.21-sysrescue-std302
grub
initramfs-sysrescue-std-x86_64-3.0.21-sysrescue-std302
kernel-sysrescue-std-x86_64-3.0.21-sysrescue-std302
lost+found
KRISHNA san2ban # Does this mean, /dev/sda1 is not auto-mounted during boot?
How is the choice (Funtoo, XP) displayed
Last edited by san2ban (2012-07-10 10:19:28)
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
after mounting /dev/sda1 to /boot, grub.cfg is displayed (i.e after having logged-in to the system
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
i think if you run boot-update now you will be ok.
if your boot.conf is same as above you should see genkernel and winxp choices at boot.
if noauto is set in fstab for /dev/sda1 /boot it will not automatically mount. your choice.
Last edited by whiteghost (2012-07-10 10:28:27)
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
Is it that we can access grub.cfg, only after mounting /dev/sda1 to /boot?
Bottom line is, in normal conditions, "nano /boot/grub/grub.cfg" shows as 'new file', blank.
Windows on 2nd HDD not booting.
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
sorry
#mount /dev/sda1 /boot
#boot-updatethen post your grub.cfg here
i think the purpose of having the noauto feature for /boot is for
safety/security. once it is set up right if it is not mounted no harm can come to it.
and grub can access it without it being mounted.
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
Here it is
set timeout=999
menuentry "Funtoo Linux genkernel - kernel-sysrescue-std-x86_64-3.0.21-sysrescue-std302" {
insmod part_gpt
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 7114255e-0a65-4590-bbbf-31464fcbf893
linux /kernel-sysrescue-std-x86_64-3.0.21-sysrescue-std302 real_root=/dev/sda4
initrd /initramfs-sysrescue-std-x86_64-3.0.21-sysrescue-std302
set gfxpayload=keep
}
menuentry "Windows XP" {
insmod part_msdos
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 96d40c06d40be6f9
chainloader +1
}
set default=0Iss it better to leave noauto for /boot in /etc/fstab
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
so you should see the choices when you boot now.
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline
Choces are displayed, but windows (sdb) never boots.
Blinking cursor on left top side of screen. Any further inputs/
You have almost held me from going back to ARCH LINUX, but if Windows doe not boot, my little daughter, wife, will tear me down
As it is, they are cursing me from 2 weeks
When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257
Offline
Blinking cursor on left top side of screen. Any further inputs/
no
May you re-discover what the poor in 18th century France discovered, that rich people's heads can be mechanically separated from their shoulders if they refuse to listen to reason.
Offline