Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86487 - Genkernel's Initrd does not support changing path if you use real_root
Summary: Genkernel's Initrd does not support changing path if you use real_root
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-24 01:34 UTC by Philip Lawatsch
Modified: 2005-06-22 09:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Lawatsch 2005-03-24 01:34:40 UTC
I'd like the initrd to mount /dev/my_real_root and then use a directory inside this filesystem when chrooting. Currently you can only chroot to the root of the fs.
I know this might not be useful for the average user but it would be helpful if for instance one bootstraps a new gentoo system inside his old fs (/root/next_try/ for instance) and would try to boot it before replacing the old system with the new one.

Reproducible: Always
Steps to Reproduce:
1. Try to make genkernel's initrd cd to a path inside the real_root fs
2.
3.

Actual Results:  
doesnt do it

Expected Results:  
after mounting the fs cd to a speciefied directory and continue from there on
Comment 1 Eric Edgar (RETIRED) gentoo-dev 2005-06-21 21:22:36 UTC
would a subdir=/foo type command work for you?
Comment 2 Philip Lawatsch 2005-06-21 23:30:33 UTC
Sure, everything is fine. I just need this to test a new gentoo root which I
compiled somewhere inside my filesystem. So if subdir=/foo chroots to
$mount_point_of_real_root/foo its fine with me.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-06-22 09:44:47 UTC
Fixed in 3.2.0_pre10, thanks!